• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Cara Generate Hash Password Laravel di Route

Kepala Suku

Web & Mobile Developer
Staff member
#1
Ini adalah contoh kode untuk generate Hash Password Laravel langsung di route:
PHP:
Route::get('/pass', function (){
    return \Illuminate\Support\Facades\Hash::make('password_kamu');
});
Tested di Laravel 7.x