3 define('LARAVEL_START', microtime(true));
6 |--------------------------------------------------------------------------
7 | Register The Composer Auto Loader
8 |--------------------------------------------------------------------------
10 | Composer provides a convenient, automatically generated class loader
11 | for our application. We just need to utilize it! We'll require it
12 | into the script here so that we do not have to worry about the
13 | loading of any our classes "manually". Feels great to relax.
17 require __DIR__.'/../vendor/autoload.php';
20 |--------------------------------------------------------------------------
21 | Include The Compiled Class File
22 |--------------------------------------------------------------------------
24 | To dramatically increase your application's performance, you may use a
25 | compiled class file which contains all of the classes commonly used
26 | by a request. The Artisan "optimize" is used to create this file.
30 $compiledPath = __DIR__.'/cache/compiled.php';
32 if (file_exists($compiledPath)) {
33 require $compiledPath;