Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 676 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
2 lars 1
<?php
2
 
677 lars 3
    use Illuminate\Support\Facades\Facade;
2 lars 4
 
677 lars 5
    return [
2 lars 6
 
677 lars 7
        /*
8
        |--------------------------------------------------------------------------
9
        | Application Name
10
        |--------------------------------------------------------------------------
11
        |
12
        | This value is the name of your application. This value is used when the
13
        | framework needs to place the application's name in a notification or
14
        | any other location as required by the application or its packages.
15
        |
16
        */
2 lars 17
 
677 lars 18
        'name' => env( 'APP_NAME', 'Laravel' ),
2 lars 19
 
677 lars 20
        /*
21
        |--------------------------------------------------------------------------
22
        | Application Environment
23
        |--------------------------------------------------------------------------
24
        |
25
        | This value determines the "environment" your application is currently
26
        | running in. This may determine how you prefer to configure various
27
        | services the application utilizes. Set this in your ".env" file.
28
        |
29
        */
2 lars 30
 
677 lars 31
        'env' => env( 'APP_ENV', 'production' ),
2 lars 32
 
677 lars 33
        /*
34
        |--------------------------------------------------------------------------
35
        | Application Debug Mode
36
        |--------------------------------------------------------------------------
37
        |
38
        | When your application is in debug mode, detailed error messages with
39
        | stack traces will be shown on every error that occurs within your
40
        | application. If disabled, a simple generic error page is shown.
41
        |
42
        */
2 lars 43
 
677 lars 44
        'debug' => (bool)env( 'APP_DEBUG', false ),
2 lars 45
 
677 lars 46
        /*
47
        |--------------------------------------------------------------------------
48
        | Application URL
49
        |--------------------------------------------------------------------------
50
        |
51
        | This URL is used by the console to properly generate URLs when using
52
        | the Artisan command line tool. You should set this to the root of
53
        | your application so that it is used when running Artisan tasks.
54
        |
55
        */
2 lars 56
 
677 lars 57
        'url' => env( 'APP_URL', 'http://localhost' ),
2 lars 58
 
677 lars 59
        'asset_url' => env( 'ASSET_URL' ),
2 lars 60
 
677 lars 61
        /*
62
        |--------------------------------------------------------------------------
63
        | Application Timezone
64
        |--------------------------------------------------------------------------
65
        |
66
        | Here you may specify the default timezone for your application, which
67
        | will be used by the PHP date and date-time functions. We have gone
68
        | ahead and set this to a sensible default for you out of the box.
69
        |
70
        */
2 lars 71
 
677 lars 72
        'timezone' => 'Europe/Berlin',
2 lars 73
 
677 lars 74
        /*
75
        |--------------------------------------------------------------------------
76
        | Application Locale Configuration
77
        |--------------------------------------------------------------------------
78
        |
79
        | The application locale determines the default locale that will be used
80
        | by the translation service provider. You are free to set this value
81
        | to any of the locales which will be supported by the application.
82
        |
83
        */
2 lars 84
 
677 lars 85
        'locale' => 'en',
2 lars 86
 
677 lars 87
        /*
88
        |--------------------------------------------------------------------------
89
        | Application Fallback Locale
90
        |--------------------------------------------------------------------------
91
        |
92
        | The fallback locale determines the locale to use when the current one
93
        | is not available. You may change the value to correspond to any of
94
        | the language folders that are provided through your application.
95
        |
96
        */
2 lars 97
 
677 lars 98
        'fallback_locale' => 'en',
2 lars 99
 
677 lars 100
        /*
101
        |--------------------------------------------------------------------------
102
        | Faker Locale
103
        |--------------------------------------------------------------------------
104
        |
105
        | This locale will be used by the Faker PHP library when generating fake
106
        | data for your database seeds. For example, this will be used to get
107
        | localized telephone numbers, street address information and more.
108
        |
109
        */
2 lars 110
 
677 lars 111
        'faker_locale' => 'en_US',
2 lars 112
 
677 lars 113
        /*
114
        |--------------------------------------------------------------------------
115
        | Encryption Key
116
        |--------------------------------------------------------------------------
117
        |
118
        | This key is used by the Illuminate encrypter service and should be set
119
        | to a random, 32 character string, otherwise these encrypted strings
120
        | will not be safe. Please do this before deploying an application!
121
        |
122
        */
2 lars 123
 
677 lars 124
        'key' => env( 'APP_KEY' ),
2 lars 125
 
677 lars 126
        'cipher' => 'AES-256-CBC',
2 lars 127
 
677 lars 128
        /*
129
        |--------------------------------------------------------------------------
130
        | Maintenance Mode Driver
131
        |--------------------------------------------------------------------------
132
        |
133
        | These configuration options determine the driver used to determine and
134
        | manage Laravel's "maintenance mode" status. The "cache" driver will
135
        | allow maintenance mode to be controlled across multiple machines.
136
        |
137
        | Supported drivers: "file", "cache"
138
        |
139
        */
2 lars 140
 
677 lars 141
        'maintenance' => [
142
            'driver' => 'file',
143
            // 'store'  => 'redis',
144
        ],
2 lars 145
 
677 lars 146
        /*
147
        |--------------------------------------------------------------------------
148
        | Autoloaded Service Providers
149
        |--------------------------------------------------------------------------
150
        |
151
        | The service providers listed here will be automatically loaded on the
152
        | request to your application. Feel free to add your own services to
153
        | this array to grant expanded functionality to your applications.
154
        |
155
        */
2 lars 156
 
677 lars 157
        'providers' => [
2 lars 158
 
677 lars 159
            /*
160
             * Laravel Framework Service Providers...
161
             */
162
            Illuminate\Auth\AuthServiceProvider::class,
163
            Illuminate\Broadcasting\BroadcastServiceProvider::class,
164
            Illuminate\Bus\BusServiceProvider::class,
165
            Illuminate\Cache\CacheServiceProvider::class,
166
            Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
167
            Illuminate\Cookie\CookieServiceProvider::class,
168
            Illuminate\Database\DatabaseServiceProvider::class,
169
            Illuminate\Encryption\EncryptionServiceProvider::class,
170
            Illuminate\Filesystem\FilesystemServiceProvider::class,
171
            Illuminate\Foundation\Providers\FoundationServiceProvider::class,
172
            Illuminate\Hashing\HashServiceProvider::class,
173
            Illuminate\Mail\MailServiceProvider::class,
174
            Illuminate\Notifications\NotificationServiceProvider::class,
175
            Illuminate\Pagination\PaginationServiceProvider::class,
176
            Illuminate\Pipeline\PipelineServiceProvider::class,
177
            Illuminate\Queue\QueueServiceProvider::class,
178
            Illuminate\Redis\RedisServiceProvider::class,
179
            Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
180
            Illuminate\Session\SessionServiceProvider::class,
181
            Illuminate\Translation\TranslationServiceProvider::class,
182
            Illuminate\Validation\ValidationServiceProvider::class,
183
            Illuminate\View\ViewServiceProvider::class,
184
            Srmklive\PayPal\Providers\PayPalServiceProvider::class,
2 lars 185
 
677 lars 186
            /*
187
             * Package Service Providers...
188
             */
2 lars 189
 
677 lars 190
            /*
191
             * Application Service Providers...
192
             */
193
            App\Providers\AppServiceProvider::class,
194
            App\Providers\AuthServiceProvider::class,
195
            // App\Providers\BroadcastServiceProvider::class,
196
            App\Providers\EventServiceProvider::class,
197
            App\Providers\RouteServiceProvider::class,
2 lars 198
 
677 lars 199
            // add smarty extension
200
            Ytake\LaravelSmarty\SmartyServiceProvider::class,
201
            // add artisan commands
202
            Ytake\LaravelSmarty\SmartyConsoleServiceProvider::class,
203
        ],
2 lars 204
 
677 lars 205
        /*
206
        |--------------------------------------------------------------------------
207
        | Class Aliases
208
        |--------------------------------------------------------------------------
209
        |
210
        | This array of class aliases will be registered when this application
211
        | is started. However, feel free to register as many as you wish as
212
        | the aliases are "lazy" loaded so they don't hinder performance.
213
        |
214
        */
2 lars 215
 
677 lars 216
        'aliases' => Facade::defaultAliases()->merge( [
217
            // 'ExampleClass' => App\Example\ExampleClass::class
218
            'PayPal' => Srmklive\PayPal\Facades\PayPal::class,
219
        ] )->toArray(),
2 lars 220
 
677 lars 221
    ];