compile.php 1.0 KB

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