compile.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. __DIR__.'/../app/Providers/ArtisanServiceProvider.php',
  15. __DIR__.'/../app/Providers/EventServiceProvider.php',
  16. __DIR__.'/../app/Providers/LogServiceProvider.php',
  17. __DIR__.'/../app/Providers/RouteServiceProvider.php',
  18. ],
  19. /*
  20. |--------------------------------------------------------------------------
  21. | Compiled File Providers
  22. |--------------------------------------------------------------------------
  23. |
  24. | Here you may list service providers which define a "compiles" function
  25. | that returns additional files that should be compiled, providing an
  26. | easy way to get common files from any packages you are utilizing.
  27. |
  28. */
  29. 'providers' => [
  30. //
  31. ],
  32. ];