laravel5裏面一些配置,好比數據庫,debug的,實際上在項目的.env裏面定義過了laravel
//forge是默認值 'database' => env('DB_DATABASE', 'forge'),
.env數據庫
APP_ENV=local APP_DEBUG=true APP_KEY=JAn5lucJEjRerW8srwWZFg6XA9BYnskH DB_HOST=localhost DB_DATABASE=homestead DB_USERNAME=homestead DB_PASSWORD=secret CACHE_DRIVER=file SESSION_DRIVER=file