Torann / laravel-geoip

Determine the geographical location of website visitors based on their IP addresses.
http://lyften.com/projects/laravel-geoip
BSD 2-Clause "Simplified" License
2.11k stars 372 forks source link

Compatible with Laravel 5.1 #39

Closed bastiendonjon closed 8 years ago

cringerjs commented 9 years ago

You should have updated the array syntax to brackets as well. As in the config/app.php it looks like the following:

'providers' => [
    ...
    Torann\GeoIP\GeoIPServiceProvider::class,
]
'aliases' => [
    ...
    'GeoIP'     => Torann\GeoIP\GeoIPFacade::class,
]
Torann commented 8 years ago

Thank you! This is fully implemented in the upcoming version 1.0 release