Class 'App\Rules\Hash' not found in Laravel
This error occurs when you forget to import class Hash to your MatchOldPassword rules in app\Rules directory. To avoid this error Class 'App\Rules\Hash' not found you have to import Hash facade in your match old password rule.
-
Class 'App\Rules\Hash' not found
--PATH app\Rules\MatchOldPassword.phpuse Illuminate\Support\Facades\Hash;
You have to import Hash facade in your match old password rule in app\Rules\MatchOldPassword.php file.
If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.
Don't forget to share this article! Help us spread the word by clicking the share button below.
We appreciate your support and are committed to providing you valuable and informative content.
We are thankful for your never ending support.
Random Code Snippet Queries: Laravel
- Redirect from www to non www in laravel using htaccess
- How to create controller in laravel
- How to get all posts which contains comments in laravel
- Split an Eloquent Collection by half in Laravel
- Laravel hasmany select not working
- The openssl extension is required for SSL/TLS protection but is not available
- Ajax GET request in laravel
- How to pass external link in laravel blade to anchor tag
- Laravel get single row by id
- How to check find method executed successfully in laravel
- How to get route name on visit URL in laravel
- How to get file extension from input type file in laravel
- Call to a member function pluck() on null
- Display message with session flash using bootstrap alert class in laravel
- JQuery each loop on json response after ajax in laravel
- How to avoid duplicate entries in pivot table in Laravel
- Use withCount() to Calculate Child Relationship Records
- How to authenticate admin users in Laravel ?
- FirstOrCreate() Not Inserting Model
- Sample .htaccess file and index.php file under public directory in laravel
- Laravel 11 project setup on localhost using breeze with blade step by step
- How to use more than one query scope in Laravel
- Symlink(): No such file or directory
- Order by multiple columns in Laravel
- Get comma separated email from input array