I run this command and I found out that I work in production mode:
php artisan env
and after I add to my .env this line:
APP_ENV=development
after I run all this commands
php artisan cache:clear
php artisan view:clear
php artisan config:cache
and always I get production mode
Make sure the value in your app.config uses the env() function to get the value from the .env file.
If not, the recommended value is env('APP_ENV', 'development').
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With