2017-06-09 02:28:26 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
/*
|
|
|
|
| Application Name
|
|
|
|
*/
|
|
|
|
|
2017-06-09 11:39:38 +08:00
|
|
|
'name' => 'phpvms',
|
2017-06-09 02:28:26 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
| Application Environment
|
|
|
|
*/
|
|
|
|
|
2017-06-09 03:16:50 +08:00
|
|
|
'env' => env('APP_ENV', 'dev'),
|
2017-06-09 02:28:26 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
| Application Debug Mode
|
|
|
|
*/
|
|
|
|
|
2017-06-09 02:54:12 +08:00
|
|
|
'debug' => env('APP_DEBUG', true),
|
2017-06-09 02:28:26 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
| Application URL
|
|
|
|
*/
|
|
|
|
|
|
|
|
'url' => env('APP_URL', 'http://localhost'),
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Application Timezone
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here you may specify the default timezone for your application, which
|
|
|
|
| will be used by the PHP date and date-time functions. We have gone
|
|
|
|
| ahead and set this to a sensible default for you out of the box.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'timezone' => 'UTC',
|
|
|
|
'locale' => 'en',
|
|
|
|
'fallback_locale' => 'en',
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Encryption Key
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
'key' => env('APP_KEY'),
|
|
|
|
'cipher' => 'AES-256-CBC',
|
|
|
|
|
|
|
|
/*
|
|
|
|
| Logging Configuration
|
|
|
|
*/
|
|
|
|
|
|
|
|
'log' => env('APP_LOG', 'single'),
|
|
|
|
'log_level' => env('APP_LOG_LEVEL', 'debug'),
|
|
|
|
|
|
|
|
'providers' => [
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Laravel Framework Service Providers...
|
|
|
|
*/
|
|
|
|
Illuminate\Auth\AuthServiceProvider::class,
|
|
|
|
Illuminate\Broadcasting\BroadcastServiceProvider::class,
|
|
|
|
Illuminate\Bus\BusServiceProvider::class,
|
|
|
|
Illuminate\Cache\CacheServiceProvider::class,
|
|
|
|
Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
|
|
|
|
Illuminate\Cookie\CookieServiceProvider::class,
|
|
|
|
Illuminate\Database\DatabaseServiceProvider::class,
|
|
|
|
Illuminate\Encryption\EncryptionServiceProvider::class,
|
|
|
|
Illuminate\Filesystem\FilesystemServiceProvider::class,
|
|
|
|
Illuminate\Foundation\Providers\FoundationServiceProvider::class,
|
|
|
|
Illuminate\Hashing\HashServiceProvider::class,
|
|
|
|
Illuminate\Mail\MailServiceProvider::class,
|
|
|
|
Illuminate\Notifications\NotificationServiceProvider::class,
|
|
|
|
Illuminate\Pagination\PaginationServiceProvider::class,
|
|
|
|
Illuminate\Pipeline\PipelineServiceProvider::class,
|
|
|
|
Illuminate\Queue\QueueServiceProvider::class,
|
|
|
|
Illuminate\Redis\RedisServiceProvider::class,
|
|
|
|
Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
|
|
|
|
Illuminate\Session\SessionServiceProvider::class,
|
|
|
|
Illuminate\Translation\TranslationServiceProvider::class,
|
|
|
|
Illuminate\Validation\ValidationServiceProvider::class,
|
|
|
|
Illuminate\View\ViewServiceProvider::class,
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Package Service Providers...
|
|
|
|
*/
|
|
|
|
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
|
|
|
|
Yajra\Datatables\DatatablesServiceProvider::class,
|
|
|
|
Collective\Html\HtmlServiceProvider::class,
|
|
|
|
Laracasts\Flash\FlashServiceProvider::class,
|
|
|
|
Prettus\Repository\Providers\RepositoryServiceProvider::class,
|
2017-06-11 09:10:31 +08:00
|
|
|
InfyOm\Generator\InfyOmGeneratorServiceProvider::class,
|
2017-06-09 02:28:26 +08:00
|
|
|
InfyOm\AdminLTETemplates\AdminLTETemplatesServiceProvider::class,
|
2017-06-11 09:10:31 +08:00
|
|
|
Zizaco\Entrust\EntrustServiceProvider::class,
|
|
|
|
|
2017-06-09 02:28:26 +08:00
|
|
|
/*
|
|
|
|
* Application Service Providers...
|
|
|
|
*/
|
|
|
|
App\Providers\AppServiceProvider::class,
|
|
|
|
// App\Providers\BroadcastServiceProvider::class,
|
|
|
|
App\Providers\AuthServiceProvider::class,
|
|
|
|
App\Providers\EventServiceProvider::class,
|
|
|
|
App\Providers\RouteServiceProvider::class,
|
|
|
|
],
|
|
|
|
|
|
|
|
'aliases' => [
|
|
|
|
|
|
|
|
'App' => Illuminate\Support\Facades\App::class,
|
|
|
|
'Artisan' => Illuminate\Support\Facades\Artisan::class,
|
|
|
|
'Auth' => Illuminate\Support\Facades\Auth::class,
|
|
|
|
'Blade' => Illuminate\Support\Facades\Blade::class,
|
|
|
|
'Cache' => Illuminate\Support\Facades\Cache::class,
|
|
|
|
'Config' => Illuminate\Support\Facades\Config::class,
|
|
|
|
'Cookie' => Illuminate\Support\Facades\Cookie::class,
|
|
|
|
'Crypt' => Illuminate\Support\Facades\Crypt::class,
|
|
|
|
'DB' => Illuminate\Support\Facades\DB::class,
|
|
|
|
'Eloquent' => Illuminate\Database\Eloquent\Model::class,
|
2017-06-11 09:10:31 +08:00
|
|
|
'Entrust' => Zizaco\Entrust\EntrustFacade::class,
|
2017-06-09 02:28:26 +08:00
|
|
|
'Event' => Illuminate\Support\Facades\Event::class,
|
|
|
|
'File' => Illuminate\Support\Facades\File::class,
|
|
|
|
'Gate' => Illuminate\Support\Facades\Gate::class,
|
|
|
|
'Hash' => Illuminate\Support\Facades\Hash::class,
|
|
|
|
'Lang' => Illuminate\Support\Facades\Lang::class,
|
|
|
|
'Log' => Illuminate\Support\Facades\Log::class,
|
|
|
|
'Mail' => Illuminate\Support\Facades\Mail::class,
|
|
|
|
'Notification' => Illuminate\Support\Facades\Notification::class,
|
|
|
|
'Password' => Illuminate\Support\Facades\Password::class,
|
|
|
|
'Queue' => Illuminate\Support\Facades\Queue::class,
|
|
|
|
'Redirect' => Illuminate\Support\Facades\Redirect::class,
|
|
|
|
'Redis' => Illuminate\Support\Facades\Redis::class,
|
|
|
|
'Request' => Illuminate\Support\Facades\Request::class,
|
|
|
|
'Response' => Illuminate\Support\Facades\Response::class,
|
|
|
|
'Route' => Illuminate\Support\Facades\Route::class,
|
|
|
|
'Schema' => Illuminate\Support\Facades\Schema::class,
|
|
|
|
'Session' => Illuminate\Support\Facades\Session::class,
|
|
|
|
'Storage' => Illuminate\Support\Facades\Storage::class,
|
|
|
|
'URL' => Illuminate\Support\Facades\URL::class,
|
|
|
|
'Validator' => Illuminate\Support\Facades\Validator::class,
|
|
|
|
'View' => Illuminate\Support\Facades\View::class,
|
|
|
|
'Form' => Collective\Html\FormFacade::class,
|
|
|
|
'Html' => Collective\Html\HtmlFacade::class,
|
2017-06-13 11:48:32 +08:00
|
|
|
'Flash' => Laracasts\Flash\Flash::class,
|
|
|
|
'Yaml' => Symfony\Component\Yaml\Yaml::class,
|
2017-06-09 02:28:26 +08:00
|
|
|
],
|
|
|
|
|
|
|
|
];
|