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__.'/../app/helpers.php';
18 require __DIR__.'/../vendor/autoload.php';
21 |--------------------------------------------------------------------------
22 | Include The Compiled Class File
23 |--------------------------------------------------------------------------
25 | To dramatically increase your application's performance, you may use a
26 | compiled class file which contains all of the classes commonly used
27 | by a request. The Artisan "optimize" is used to create this file.
31 $compiledPath = __DIR__.'/cache/compiled.php';
33 if (file_exists($compiledPath)) {
34 require $compiledPath;