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:
- An HTTP API -- create a microservice in Rust (iron or nickel.js are good web frameworks), serve it from https://api.nasqueron.org
- An AMQP RPC call -- PHP sample code for the client, Rust crate for the microservice
- 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.