Click here for more interview questions
cache all configuration file into a single file, which load quickly by the framework
php artisan config:cache
normaly this will execute in the deployment,because local development configuration file frequntly changing.
once configuration cached env file will not be loaded it will be null
Click here for more interview questions