google / open-location-code

Open Location Code is a library to generate short codes, called "plus codes", that can be used as digital addresses where street addresses don't exist.
https://plus.codes
Apache License 2.0
4.06k stars 472 forks source link

PHP language support #427

Closed chinmaypurav closed 3 months ago

chinmaypurav commented 3 years ago

I would like to contribute to this project by adding a PHP code with the same algorithm. The only problem I am facing is with the RegEx part.

fulldecent commented 3 years ago

Recommended tag: implementation request

(but actually recommending to close as out-of-scope in #434)

ben221199 commented 1 year ago

I wrote one for PHP: https://github.com/yocto/yoclib-openlocationcode-php. It is just the Java code converted to PHP. Only thing I have to do is fixing some things until all tests pass, before I will release the first official version.

drinckes commented 3 months ago

We're happy to link to external implementations, especially as we're not experts in every language. Best thing would be for either of you to complete your implementation and then add it to the wiki page https://github.com/google/open-location-code/wiki/Other-Implementations