-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
69 lines (68 loc) · 1.91 KB
/
config.php
File metadata and controls
69 lines (68 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
return [
'env' => env('SITE_ENV', 'production'),
'debug' => env('SITE_DEBUG', false),
'url' => env('SITE_URL', 'http://localhost'),
'timezone' => 'America/New_York',
'site' => [
'name' => env('SITE_NAME'),
],
'app' => [
// For mailer which references app.name
'name' => env('SITE_NAME'),
],
'view' => [
'paths' => [
realpath(base_path('resources/views')),
],
'compiled' => realpath(base_path('framework/compiled')),
],
'analytics' => [
'trackingId' => env('ANALYTICS_ID'),
],
'providers' => [
/*
* Extra, optional service providers
*/
Illuminate\Session\SessionServiceProvider::class,
Illuminate\Mail\MailServiceProvider::class,
],
'aliases' => [
/*
* Extra, optional facade aliases
*/
'Mail' => Illuminate\Support\Facades\Mail::class,
],
'middleware' => [
/*
* Extra, optional middleware for all routes
*/
Illuminate\Session\Middleware\StartSession::class,
],
'mail' => [
"driver" => env('MAIL_DRIVER'),
"host" => env('MAIL_HOST'),
"port" => 2525,
"from" => array(
"address" => "no-reply@phin-example.com",
"name" => "No Reply"
),
"username" => env('MAIL_USERNAME'),
"password" => env('MAIL_PASSWORD'),
"sendmail" => "/usr/sbin/sendmail -bs",
"pretend" => false
],
'session' => [
'driver' => env('SESSION_DRIVER', 'file'),
'lifetime' => 120,
'expire_on_close' => false,
'encrypt' => false,
'files' => realpath(base_path('framework/sessions')),
'lottery' => [2, 100],
'cookie' => 'laravel_session',
'path' => '/',
'domain' => env('SESSION_DOMAIN', null),
'secure' => false,
'http_only' => true,
],
];