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

vendor:publish --tag=config does nothing #87

Closed mike-kostov closed 7 years ago

mike-kostov commented 7 years ago

I followed the installation instructions from the Get Started section

Placed the correct provider and alias rows.

But when I try to publish the config nothing happens. php artisan vendor:publish --provider="Torann\GeoIP\GeoIPServiceProvider" --tag=config

If I try to use the helper function geoip( "127.0.0.1" ) returns ReflectionException Class geoip does not exist

mike-kostov commented 7 years ago

Laravel 5.4 lied to me For anyone having similar issues php artisan cache:clear php artisan config:clear php artisan vendor:publish