Laravel - Solve env() fetched value is null
Because Laravel will make a cache, so we have to clear
php artisan config:clear
test it
php artisan tinker env('DB_DATABASE')
This will display normally
Because Laravel will make a cache, so we have to clear
php artisan config:clear
test it
php artisan tinker env('DB_DATABASE')
This will display normally
0 Comments