Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel make password

// Import Hash Facade
use IlluminateSupportFacadesHash;

// Validate the new password length...
$request->user()->fill([
  'password' => Hash::make($request->newPassword)
])->save();
 
PREVIOUS NEXT
Tagged: #laravel #password
ADD COMMENT
Topic
Name
8+3 =