compile.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Additional Compiled Classes
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here you may specify additional classes to include in the compiled file
  9. | generated by the `artisan optimize` command. These should be classes
  10. | that are included on basically every request into the application.
  11. |
  12. */
  13. 'files' => [
  14. realpath(__DIR__.'/../app/Providers/AppServiceProvider.php'),
  15. realpath(__DIR__.'/../app/Providers/BusServiceProvider.php'),
  16. realpath(__DIR__.'/../app/Providers/ConfigServiceProvider.php'),
  17. realpath(__DIR__.'/../app/Providers/EventServiceProvider.php'),
  18. realpath(__DIR__.'/../app/Providers/RouteServiceProvider.php'),
  19. ],
  20. /*
  21. |--------------------------------------------------------------------------
  22. | Compiled File Providers
  23. |--------------------------------------------------------------------------
  24. |
  25. | Here you may list service providers which define a "compiles" function
  26. | that returns additional files that should be compiled, providing an
  27. | easy way to get common files from any packages you are utilizing.
  28. |
  29. */
  30. 'providers' => [
  31. //
  32. ],
  33. ];