I am getting this -
_php artisan vendor:publish --provider="NunoMaduro\PhpInsights\Application\Adapters\Laravel\InsightsServiceProvider"_
Publishing complete.
_php artisan insights_
Command "insights" is not defined.
Please help.
I have no idea on how to solve your problem.
What version of Laravel are you using?
@pxgamer Good point. Maybe he needs to register the service provider manually.
Same problem for me, I am running Laravel 5.7
$ php artisan vendor:publish --provider="NunoMaduro\PhpInsights\Application\Adapters\Laravel\InsightsServiceProvider"
Publishing complete.
artisan insights
Command "insights" is not defined.
I am using Laravel 5.8.
You have auto discovery enabled?
You have auto discovery enabled?
Yes, I deleted my composer.lock file and reinstalled. Seems to work now.
Great!
Most helpful comment
Yes, I deleted my
composer.lockfile and reinstalled. Seems to work now.