autoload.php 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Register The Composer Auto Loader
  5. |--------------------------------------------------------------------------
  6. |
  7. | Composer provides a convenient, automatically generated class loader
  8. | for our application. We just need to utilize it! We'll require it
  9. | into the script here so that we do not have to worry about the
  10. | loading of any our classes "manually". Feels great to relax.
  11. |
  12. */
  13. require __DIR__.'/../vendor/autoload.php';
  14. /*
  15. |--------------------------------------------------------------------------
  16. | Register The Workbench Loaders
  17. |--------------------------------------------------------------------------
  18. |
  19. | The Laravel workbench provides a convenient place to develop packages
  20. | when working locally. However we will need to load in the Composer
  21. | auto-load files for the packages so that these can be used here.
  22. |
  23. */
  24. if (is_dir($workbench = __DIR__.'/../workbench'))
  25. {
  26. Illuminate\Workbench\Starter::start($workbench);
  27. }