LogicException: Please make sure the PHP Redis extension is installed and enabled

In case you install Redis with composer require predis/predis, you need to add this line to .env file: REDIS_CLIENT=predis Then clear cache by run this command: php artisan optimize:clear An additional way you can change this line in config/database.php file: From: ‘client’ => env(‘REDIS_CLIENT’, ‘phpredis’), To: ‘client’ => env(‘REDIS_CLIENT’, ‘predis’), Then clear cache by run … Read more

Laravel Sanctum vs Passport [closed]

Passport provides a full OAuth2 server implementation for your Laravel application in a matter of minutes. It is therefore necessary to have a brief knowledge of OAuth2. Sanctum it is a simple package to issue API tokens to your users without the complication of OAuth. Sanctum uses Laravel’s built-in cookie based session authentication services. In … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)