2017 © Pedro Peláez
 

library maxmind-db-reader

Laravel 4 MaxMind DB Reader port

image

davispeixoto/maxmind-db-reader

Laravel 4 MaxMind DB Reader port

  • Friday, February 28, 2014
  • by davispeixoto
  • Repository
  • 1 Watchers
  • 1 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Laravel 4 MaxMind DB Reader

This Laravel 4 package provides a simple interface for MaxMind DB Reader., (*1)

Installation

Begin by installing this package through Composer. Edit your project's composer.json file to require davispeixoto/maxmind-db-reader., (*2)

"require": {
    "laravel/framework": "4.1.*",
    "davispeixoto/maxmind-db-reader": "dev-master"
},
"minimum-stability" : "dev"

Next, update Composer from the Terminal:, (*3)

composer update

Once this operation completes, still in Terminal run:, (*4)

php artisan config:publish davispeixoto/maxmind-db-reader

Update the settings in the generated app/config/packages/davispeixoto/maxmind-db-reader configuration file with the location of your maxmind db file., (*5)

Finally add the service provider. Open app/config/app.php, and add a new item to the providers array., (*6)

'Davispeixoto\MaxmindDbReader\MaxmindDbReaderServiceProvider'

That's it! You're all set to go. Just use:, (*7)

Route::get('/test', function() {
    echo print_r(MaxmindDbReader::get($_SERVER['REMOTE_ADDR']) , true);
});

License

This MaxMind DB Reader port is open-sourced software licensed under the MIT license, (*8)

Versioning

This projetct follows the Semantic Versioning, (*9)

The Versions

28/02 2014

dev-master

9999999-dev

Laravel 4 MaxMind DB Reader port

  Sources   Download

MIT

The Requires

 

by Davis Peixoto

laravel geoip laravel 4 maxmind reader

28/02 2014

1.0.0

1.0.0.0

Laravel 4 MaxMind DB Reader port

  Sources   Download

MIT

The Requires

 

by Davis Peixoto

laravel geoip laravel 4 maxmind reader