1. Home
  2. Docs
  3. laravel
  4. \App folder contents

\App folder contents

When you start a new Laravel project, there are only a couple of subfolders under \App (indicated here as bold), but these can easily be extended to accommodate more than a dozen different categories of code. Here are some conventionally used folders:

  • \App\Console:
  • \App\Events:
  • \App\Exceptions:
  • \App\Facades:
  • \App\Factories:
  • \App\Http:
  • \App\Jobs:
  • \App\Listeners:
  • \App\Models:
  • \App\Observers:
  • \App\Policies:
  • \App\Providers: service providers
  • \App\Repositories:
  • \App\Rules:
  • \App\Services:
  • \App\Traits:

Articles

Was this article helpful to you? Yes No