GeoSlim: A Slim PHP framework API wrapper around the Geonames database.
GeoSlim allows you to quickly integrate GeoNames lookups into your web app. It imports the GeoNames data into MySql using the CodigoFuerte import script, then sets up basic API routing to allow you to query the geonames data rapidly using Eloquent ORM.
This was benchmarked against the Phalcon PHP framework and Node.js. The results can be found here. http://reidmayo.com/2014/10/25/benchmarking-phalcon-php-vs-slim-framework-with-opcache-vs-node-js/
Install Virtualbox and Vagrant. Navigate to the GeoSlim directory and run "Vagrant Up"
Vagrant provisioning script will automatically download the geonames data and import it into mysql.
Add the following line to your hosts file: 192.168.100.100 geoslim.local
Navigate your browser to http://geoslim.local and you should be good. Try the following route to ensure everything is working correctly. http://geoslim.local/api/primary/4526992