Answers for "get request data in observer laravel"

PHP
1

get request data in observer laravel

request() helper should work:
if (request()->has('password')) {
    $user->password = bcrypt(request()->password);
}
Posted by: Guest on February-02-2021

Code answers related to "get request data in observer laravel"

Browse Popular Code Answers by Language