
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.
Answers 1
-
Class 'App\Rules\Hash' not found
--PATH app\Rules\MatchOldPassword.phpuse Illuminate\Support\Facades\Hash;
0You have to import Hash facade in your match old password rule in app\Rules\MatchOldPassword.php file.
Random Code Snippet Queries: Laravel
- Get count of filter data, while return a small set of records
- Print last executed query in laravel
- Extract only time from datetime in laravel
- Insert dummy data in users table Laravel
- Laravel 5.4 save data to database
- How to use bootstrap pagination in laravel 8
- How to run a specific seeder class in laravel
- Class 'App\Providers\Auth' not found
- How to return error message from controller to view in laravel
- How to Access Array in blade laravel
- First and last item of the array using foreach iteration in laravel blade
- How to increment column value of table in Laravel
- How to check query string exists or not in laravel blade
- How to send ID to another page in Laravel
- How to restore deleted records in laravel
- Json encode method in laravel
- Generate random string lowercase in Laravel
- Get latest record by created at in Laravel
- Update record after find method in lavavel
- If no route matched route::fallback in laravel
- Laravel save object to database
- How to validate URL with https using regex in laravel
- If condition in foreach loop in laravel
- Laravel order by date not working
- How to create projects method with belongstomany relationship in user model