laravel-zero / laravel-zero

A PHP framework for console artisans

Home Page:https://laravel-zero.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hashing class not found

anggerari opened this issue Β· comments

image
I want to run the seeder with Hash::make() function but it is not found.

I have already imported this:
use Illuminate\Support\Facades\Hash;

but it still does not work. any ideas?

hi , can someone help me for this issue?

Hi πŸ‘‹πŸ» Sorry for not seeing your issue, just to check, have you required the illuminate/hashing package? πŸ™‚

Hi πŸ‘‹πŸ» Sorry for not seeing your issue, just to check, have you required the illuminate/hashing package? πŸ™‚

yea i already required that package before

Thanks for confirming, going to look into this shortly. πŸ‘πŸ»

As this isn't a core component of Laravel Zero, the Illuminate\Hashing\HashServiceProvider::class will need to be manually added to your config/app.php under the providers array.

Could you confirm whether it works after adding this? πŸ™‚

Okay i will try to add the Illuminate\Hashing\HashServiceProvider::class , i will get back to you if is work