entrust
entrust copied to clipboard
There are no commands defined in the "entrust" namespace.
When I try to run php artisan entrust:migration
Help!
same here +1
Before running
php artisan entrust:migration
make sure you added
Zizaco\Entrust\EntrustServiceProvider::class,
to providers
and
'Entrust' => Zizaco\Entrust\EntrustFacade::class,
to alias
in config/app.php file?
Same case here. Already added the lines in the config/app.php file but doesn't solve anything.
You should try this one has a lot of issues fixed, besides entrust is poorly maintained.
I know this is an old issue but I had the same problem and the issue was that my configs were cached. So you'll need to clear your configs cache and run it.
You can clear the cache by using the following command
php artisan config:cache
Note that if you have never used this command and your configs are not cache, you shouldn't do this on your local/dev environment because you might have this kind of issue.
I hope this helps.
I know this is an old issue but I had the same problem and the issue was that my configs were cached. So you'll need to clear your configs cache and run it.
You can clear the cache by using the following command
php artisan config:cache
Note that if you have never used this command and your configs are not cache, you shouldn't do this on your local/dev environment because you might have this kind of issue.
I hope this helps.
Yes Its Work Thanks Man