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.07k stars 372 forks source link

Laravel 6.0 Support #148

Closed mikemand closed 4 years ago

mikemand commented 4 years ago

Laravel 6 will release next week. Here's the upgrade guide.

voicecode-bv commented 4 years ago

@Torann can you please update GeoIPServiceProvider.php?

use Illuminate\Support\Str;

/**
 * Check if package is running under Lumen app
 *
 * @return bool
 */
protected function isLumen()
{
    return Str::contains($this->app->version(), 'Lumen') === true;
}
Torann commented 4 years ago

Fixed with #150