File tree Expand file tree Collapse file tree 4 files changed +37
-0
lines changed Expand file tree Collapse file tree 4 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ /bootstrap /compiled.php
1
2
/vendor
2
3
composer.phar
3
4
composer.lock
Original file line number Diff line number Diff line change 97
97
'Illuminate\Log\LogServiceProvider ' ,
98
98
'Illuminate\Mail\MailServiceProvider ' ,
99
99
'Illuminate\Database\MigrationServiceProvider ' ,
100
+ 'Illuminate\Foundation\Providers\OptimizeServiceProvider ' ,
100
101
'Illuminate\Pagination\PaginationServiceProvider ' ,
101
102
'Illuminate\Foundation\Providers\PublisherServiceProvider ' ,
102
103
'Illuminate\Queue\QueueServiceProvider ' ,
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ return array (
4
+
5
+ /*
6
+ |--------------------------------------------------------------------------
7
+ | Additional Compiled Classes
8
+ |--------------------------------------------------------------------------
9
+ |
10
+ | Here you may specify additional classes to include in the compiled file
11
+ | generated by the `artisan optimize` command. These should be classes
12
+ | that are included on basically every request into the application.
13
+ |
14
+ */
15
+
16
+
17
+
18
+ );
Original file line number Diff line number Diff line change 14
14
15
15
require __DIR__ .'/../vendor/autoload.php ' ;
16
16
17
+ /*
18
+ |--------------------------------------------------------------------------
19
+ | Register The Composer Auto Loader
20
+ |--------------------------------------------------------------------------
21
+ |
22
+ | Composer provides a convenient, automatically generated class loader
23
+ | for our application. We just need to utilize it! We'll require it
24
+ | into the script here so that we do not have to worry about the
25
+ | loading of any our classes "manually". Feels great to relax.
26
+ |
27
+ */
28
+
29
+ if (file_exists ($ compiled = __DIR__ .'/compiled.php ' ))
30
+ {
31
+ require $ compiled ;
32
+ }
33
+
17
34
/*
18
35
|--------------------------------------------------------------------------
19
36
| Register The Laravel Auto Loader
You can’t perform that action at this time.
0 commit comments