entrust icon indicating copy to clipboard operation
entrust copied to clipboard

There are no commands defined in the "entrust" namespace.

Open meluamarilla opened this issue 7 years ago • 6 comments

When I try to run php artisan entrust:migration

Help!

meluamarilla avatar Jul 19 '16 13:07 meluamarilla

same here +1

HosMercury avatar Jul 25 '16 21:07 HosMercury

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?

FayazK avatar Aug 12 '16 16:08 FayazK

Same case here. Already added the lines in the config/app.php file but doesn't solve anything.

WambuguW avatar Aug 18 '16 12:08 WambuguW

You should try this one has a lot of issues fixed, besides entrust is poorly maintained.

santigarcor avatar Aug 18 '16 19:08 santigarcor

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.

pacilondo avatar Jan 12 '17 10:01 pacilondo

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

usmanarain350 avatar Jun 17 '20 06:06 usmanarain350