예제 #1
0
<?php

return ['driver' => menv('MAIL_DRIVER', 'smtp'), 'host' => menv('MAIL_HOST', ''), 'port' => menv('MAIL_PORT', 587), 'from' => ['address' => null, 'name' => null], 'encryption' => menv('MAIL_ENCRYPTION', 'tls'), 'username' => menv('MAIL_USERNAME'), 'password' => menv('MAIL_PASSWORD'), 'sendmail' => '/usr/sbin/sendmail -bs'];
예제 #2
0
<?php

return ['default' => menv('CACHE_DRIVER', 'file'), 'stores' => ['apc' => ['driver' => 'apc'], 'array' => ['driver' => 'array'], 'database' => ['driver' => 'database', 'table' => 'cache', 'connection' => null], 'file' => ['driver' => 'file', 'path' => storage_path('framework/cache')], 'memcached' => ['driver' => 'memcached', 'servers' => [['host' => menv('MEMCACHED_HOST', '127.0.0.1'), 'port' => menv('MEMCACHED_PORT', 11211), 'weight' => 100]]], 'redis' => ['driver' => 'redis', 'connection' => 'default']], 'prefix' => 'laravel'];
예제 #3
0
<?php

return ['fetch' => PDO::FETCH_CLASS, 'default' => menv('DB_CONNECTION', 'mysql'), 'connections' => ['sqlite' => ['driver' => 'sqlite', 'database' => menv('DB_DATABASE', database_path('database.sqlite')), 'prefix' => menv('DB_PREFIX', '')], 'mysql' => ['driver' => 'mysql', 'host' => menv('DB_HOST', 'localhost'), 'port' => menv('DB_PORT', '3306'), 'database' => menv('DB_DATABASE', 'forge'), 'username' => menv('DB_USERNAME', 'forge'), 'password' => menv('DB_PASSWORD', ''), 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => menv('DB_PREFIX', ''), 'strict' => false, 'engine' => null], 'pgsql' => ['driver' => 'pgsql', 'host' => menv('DB_HOST', 'localhost'), 'port' => menv('DB_PORT', '5432'), 'database' => menv('DB_DATABASE', 'forge'), 'username' => menv('DB_USERNAME', 'forge'), 'password' => menv('DB_PASSWORD', ''), 'charset' => 'utf8', 'prefix' => menv('DB_PREFIX', ''), 'schema' => 'public']], 'migrations' => 'migrations', 'redis' => ['cluster' => false, 'default' => ['host' => menv('REDIS_HOST', 'localhost'), 'password' => menv('REDIS_PASSWORD', null), 'port' => menv('REDIS_PORT', 6379), 'database' => 0]]];
예제 #4
0
<?php

return ['default' => menv('QUEUE_DRIVER', 'sync'), 'connections' => ['sync' => ['driver' => 'sync'], 'database' => ['driver' => 'database', 'table' => 'jobs', 'queue' => 'default', 'expire' => 60], 'beanstalkd' => ['driver' => 'beanstalkd', 'host' => 'localhost', 'queue' => 'default', 'ttr' => 60], 'sqs' => ['driver' => 'sqs', 'key' => 'your-public-key', 'secret' => 'your-secret-key', 'prefix' => 'https://sqs.us-east-1.amazonaws.com/your-account-id', 'queue' => 'your-queue-name', 'region' => 'us-east-1'], 'redis' => ['driver' => 'redis', 'connection' => 'default', 'queue' => 'default', 'expire' => 60]], 'failed' => ['database' => menv('DB_CONNECTION', 'mysql'), 'table' => 'failed_jobs']];
예제 #5
0
<?php

return ['version' => '3.2-pr6', 'env' => menv('APP_ENV', 'production'), 'debug' => menv('APP_DEBUG', false), 'url' => menv('APP_URL', 'http://localhost'), 'timezone' => 'Asia/Shanghai', 'locale' => 'zh-CN', 'fallback_locale' => 'en', 'key' => menv('APP_KEY', 'xrjmRQ/RE3B0ICoYqfWzPYizA7MPZz3fNXdnxQ7Cbcg='), 'cipher' => 'AES-256-CBC', 'log' => menv('APP_LOG', 'single'), '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\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\Validation\ValidationServiceProvider::class, Illuminate\View\ViewServiceProvider::class, Devitek\Core\Translation\TranslationServiceProvider::class, Swiggles\Memcache\MemcacheServiceProvider::class, App\Providers\BootServiceProvider::class, App\Providers\AppServiceProvider::class, App\Providers\PluginServiceProvider::class, App\Providers\EventServiceProvider::class, App\Providers\RouteServiceProvider::class, App\Providers\ResponseMacroServiceProvider::class, App\Providers\ValidatorExtendServiceProvider::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, '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, 'Password' => Illuminate\Support\Facades\Password::class, 'Queue' => Illuminate\Support\Facades\Queue::class, 'Redirect' => Illuminate\Support\Facades\Redirect::class, 'Predis' => 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, 'Debugbar' => Barryvdh\Debugbar\Facade::class, 'Str' => Illuminate\Support\Str::class, 'Arr' => Illuminate\Support\Arr::class, 'View' => App\Services\View::class, 'Option' => App\Services\Facades\Option::class, 'Utils' => App\Services\Utils::class, 'Minecraft' => App\Services\Minecraft::class, 'Updater' => App\Services\Updater::class, 'Database' => App\Services\Facades\Database::class]];
예제 #6
0
<?php

return ['cipher' => menv('PWD_METHOD', 'SALTED2MD5'), 'salt' => menv('SALT', '')];
예제 #7
0
<?php

return ['driver' => menv('SESSION_DRIVER', 'file'), 'lifetime' => 120, 'expire_on_close' => false, 'encrypt' => false, 'files' => storage_path('framework/sessions'), 'connection' => null, 'table' => 'sessions', 'lottery' => [2, 100], 'cookie' => 'BS_SESSION', 'path' => '/', 'domain' => null, 'secure' => false, 'http_only' => true];