Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

what is app_env in laravel

Laravel 5 uses .env file to configure your app. .env should not be committed on your repository, like github or bitbucket. On your local environment your .env will look like the following:

# .env
APP_ENV=local
For your production server, you might have the following config:

# .env
APP_ENV=production
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel
ADD COMMENT
Topic
Name
3+1 =