Page MenuHomeDevCentral

Parse names using the rust human-name crate
Open, NormalPublic

Description

Rust has a good library, human-name, to parse, identify and format correctly names.

Currently, we use GPL licensed helpers/namecase.php from http://dialect.ca/code/name-case/ not maintained anymore.

I can see three ways to consume a rust crate from PHP code, by order of preference:

  1. An HTTP API -- create a microservice in Rust (iron or nickel.js are good web frameworks), serve it from https://api.nasqueron.org
  2. An AMQP RPC call -- PHP sample code for the client, Rust crate for the microservice
  3. Call the human-name binary from the command line

This issue has been identified as suitable to discover our code base, and I'm available to mentor this.