📜  laravel 中的 app_env 是什么 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:38.290000             🧑  作者: Mango

代码示例1
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