You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello and thanks for maintaining this fork!
I've tried to update MaxMind's geoip database through a Artisan::call('geoip:update'); call but it returned the following message: The command "geoip:update" does not exist.
if ($this->app->runningInConsole()) {
$this->registerResources();
$this->registerGeoIpCommands();
}
Is there any reason for it to check whether it's running through CLI and only then to register the commands?
I mean wouldn't it be better for the end-user to be able to update the database without resorting to php artisan commands?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello and thanks for maintaining this fork!
I've tried to update MaxMind's geoip database through a
Artisan::call('geoip:update');
call but it returned the following message:The command "geoip:update" does not exist
.Upon further inspection, in GeoIPServiceProvider.php the following codeblock is responsible:
Is there any reason for it to check whether it's running through CLI and only then to register the commands?
I mean wouldn't it be better for the end-user to be able to update the database without resorting to
php artisan
commands?Beta Was this translation helpful? Give feedback.
All reactions