Closed reganjohnson closed 7 years ago
In GeoIPServiceProvider.php
change the share()
cases to be singleton()
.
$this->app->singleton('geoip', function ($app)
{
return new GeoIP($app['config'], $app["session.store"]);
});
$this->app->singleton('command.geoip.update', function ($app)
{
return new UpdateCommand($app['config']);
});
In the next two days, I'm going to be updating all of my packages.
It looks like you are v0.2, you need to update to v1.0
I just pushed a fix for v0.2.
Version 0.2 will no longer be maintained after Laravel 5.4.
Not working with 5.4