namespaces.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Application Namespace
  6. |--------------------------------------------------------------------------
  7. |
  8. | This is the root namespace used by the various Laravel generator tasks
  9. | that are able to build controllers, console commands and many other
  10. | classes for you. You may set the name via the "app:name" command.
  11. |
  12. */
  13. 'root' => 'App\\',
  14. /*
  15. |--------------------------------------------------------------------------
  16. | Generator Namespaces
  17. |--------------------------------------------------------------------------
  18. |
  19. | These namespaces are utilized by the various class generator Artisan
  20. | commands. You are free to change them to whatever you wish or not
  21. | at all. The "app:name" command is the easiest way to set these.
  22. |
  23. */
  24. 'console' => 'App\Console\\',
  25. 'controllers' => 'App\Http\Controllers\\',
  26. 'filters' => 'App\Http\Filters\\',
  27. 'providers' => 'App\Providers\\',
  28. 'requests' => 'App\Http\Requests\\',
  29. ];