The Laravel ecosystem on a map
Laravel Saga · Season 0 · Episode 11
We've reached the last episode of Season 0. And I want to start with a confession many people share: when you arrive at Laravel, the names are intimidating. Sail, Herd, Forge, Vapor, Cloud, Horizon, Pulse, Reverb, Octane, Sanctum, Inertia, Livewire... It looks like an infinite universe, and it's hard to know what's essential and what's optional.
The good news is that this universe fits into a few categories. Today we'll build the map: what is the framework core, what are official packages, what is frontend, what is a development tool and what is infrastructure. And, at the end, I'll connect everything we've seen this season with the saga that comes next.
Layer 1: the framework core
These components come in the laravel/framework package. They're the main subject of the saga, and you'll recognise several concepts from previous episodes:
| Component | What it does | Related episode |
|---|---|---|
| Service Container | Creates objects and injects dependencies | 07 |
| Service Providers | Register and configure services | 07 |
| Routing | Connects URLs to controllers | 01, 02 |
| Middleware | Layers around the request | 05, 08 |
| Validation | Validates input | 01, 10 |
| Eloquent ORM | Active Record for the database | 08 |
| Blade | Templates compiled to PHP | 09 |
| Queues | Asynchronous work in workers | 03, 09 |
| Events | Observer for side effects | 08, 09 |
| Cache, Session, Filesystem, Mail | Services with swappable drivers | 08 |
| Scheduler | Scheduled tasks without dozens of crons | — |
| Broadcasting | Real-time events to the browser | — |
| Artisan | The framework's command line | 03 |
I want to highlight Artisan, because it will be your companion throughout the saga. Besides generating code, it's the best window you have for peeking at the application's inner workings:
bashphp artisan about # version, environment, drivers and caches
php artisan route:list -v # routes and each one's middleware
php artisan config:show cache # the configuration, already resolved
php artisan model:show Post # a model's columns, relations, casts and observers
php artisan event:list # events and their listeners
php artisan tinker # an interactive console with the application loadedIf you don't use tinker day to day yet, start now. It will spare you a lot of dd() scattered through the code.
Layer 2: official packages
These are packages maintained by the Laravel team itself, but installed separately, with Composer. You only add what you need.
Authentication and users
| Package | What it's for |
|---|---|
| Sanctum | Authentication for SPAs (by cookie) and simple API tokens |
| Passport | A full OAuth2 server, for when third parties will access your API |
| Fortify | The authentication backend, with no interface (login, registration, 2FA) |
| Socialite | Login with Google, GitHub, Facebook and others |
Performance and execution
| Package | What it's for |
|---|---|
| Octane | Keeps the application in memory (FrankenPHP, Swoole, RoadRunner), as we saw in episode 03 |
| Horizon | Dashboard and configuration for queues on Redis |
| Reverb | Its own WebSocket server for real-time broadcasting |
| Echo | The JavaScript library that receives broadcast events |
Observability
| Package | What it's for |
|---|---|
| Telescope | Inspects requests, queries, jobs and exceptions during development |
| Pulse | A health dashboard for the application in production (slow routes, usage, queues) |
Product and business
| Package | What it's for |
|---|---|
| Cashier | Subscriptions and billing with Stripe or Paddle |
| Scout | Full-text search with Meilisearch, Typesense, Algolia or the database itself |
| Pennant | Feature flags |
Code quality
| Package | What it's for |
|---|---|
| Pint | The code formatter we saw in episode 05 |
| Dusk | Tests running in a real browser |
And, speaking of tests, Pest deserves a mention. It was created by a community member and is now the most used testing framework in new Laravel projects, offered as an option alongside PHPUnit when you create a project.
Artificial intelligence
| Package | What it's for |
|---|---|
| Laravel AI SDK | A unified API for text, agents, tools, embeddings, images and audio, with several providers (episode 10) |
| Laravel MCP | Exposes your application's features to AI clients through the Model Context Protocol |
| Laravel Boost | Gives coding agents your project's context (versions, documentation, schema), improving what they generate |
Layer 3: the frontend
Here Laravel gives you freedom. There are very different paths for building the interface, and they all get along well with the same backend:
So you don't start from scratch, there are official starter kits. They create a project with authentication, layout and configuration ready, in React, Vue and Livewire variants. And Vite is the default asset bundler.
bashlaravel new myblog # the installer asks which starter kit and testing framework to useLayer 4: the development environment
| Tool | What it is |
|---|---|
| Herd | A native environment for macOS and Windows, with PHP, NGINX and tools ready to go |
| Sail | A Docker-based environment, configured by a compose.yaml |
php artisan serve | A built-in server for quick tests (never use it in production) |
Here's a bit of trivia that closes a loop: Herd installs and configures, for you, exactly the NGINX and PHP-FPM combination we studied in episodes 02 and 03. Now you know what it's doing behind the scenes.
Layer 5: infrastructure and operations
| Service | Model | When it makes sense |
|---|---|---|
| Forge | Provisions and manages your own servers (AWS, DigitalOcean, Hetzner...) | You want control over the servers, without configuring everything by hand |
| Vapor | Serverless deploys on AWS Lambda | Unpredictable traffic spikes and infrastructure on AWS |
| Laravel Cloud | A managed platform, with database, cache, queues and autoscaling | You don't want to look after servers |
| Nightwatch | Production monitoring (exceptions, performance, jobs, queries) | Observability tailor-made for Laravel |
And once again the previous episodes show up. Forge configures NGINX and PHP-FPM for you. Cloud and Vapor hide all of that. And Octane changes PHP's very execution model.
The complete map
Putting all the layers together, the ecosystem looks like this:
- Forge
- Vapor
- Cloud
- Nightwatch
- NGINX + PHP-FPM
- FrankenPHP
- Octane
- Blade
- Livewire
- Inertia (React/Vue)
- Vite
- Container
- Providers
- Routing
- Middleware
- Validation
- Eloquent
- Queues
- Events
- Cache
- Sanctum
- Horizon
- Reverb
- Scout
- Cashier
- Pennant
- Pulse
- Telescope
- AI SDK
- MCP
- domain
- use cases
- integrations
- PHP 8.3+
- Composer
- PSRs
- Symfony components
- Herd
- Sail
- Pint
- Pest
- Dusk
- Boost
Seen like this, the infinite universe from the start of the episode has become a map with an address for everything, hasn't it?
Looking back: what Season 0 built
Before moving on, I want you to see the road we've travelled, and how each episode prepares a part of the saga:
| Season 0 episode | What you'll recognise in the saga |
|---|---|
| 01 · HTTP | The Request object, the 419 and 422 codes, the session and CSRF |
| 02 · NGINX | Why everything starts in public/index.php |
| 03 · How PHP runs | Why Laravel boots on every request, and what changes with Octane |
| 04 · Modern PHP | The #[...] attributes and autowiring through Reflection |
| 05 · Composer and PSRs | vendor/autoload.php, the PSR-11 container and PSR-15-style middleware |
| 06 · OO and SOLID | The contracts in Illuminate\Contracts and the swappable drivers |
| 07 · IoC and DI | The Service Container and Service Providers |
| 08 · Design patterns | Facades, Pipeline, Managers and Eloquent |
| 09 · Architecture | Lean controllers, Services, Actions and the domain |
| 10 · The age of AI | The AI SDK, vector search and the same patterns as always |
What to take into the saga
- The ecosystem divides into core, official packages, frontend, development environment and infrastructure.
- The core,
laravel/framework, is what the saga will dissect. - The official packages follow the same patterns as the core; understanding the core means understanding the ecosystem.
- Artisan is your best tool for investigating what happens inside.
End of Season 0, start of the saga
If you've made it this far, I want to genuinely congratulate you. Think about what you know now: what an HTTP request is, how it passes through NGINX, how PHP runs it, how Composer finds classes, why code should depend on abstractions, how a container assembles objects on its own and which patterns hold the framework up.
That's no small thing. It's the foundation many people only put together after years of stumbling.
Now it's time to put all of it to work. In the saga, we'll follow a single request, from the moment it reaches public/index.php until the response goes back to the browser, opening every door along the way. And you'll see the concepts from Season 0 appear one by one, each in its place.
The journey starts with the Prologue: the map of the journey. See you there.
References and further reading
The core and official packages
- Artisan, Octane, Horizon, Reverb, Pulse, Telescope and Sanctum.
- Laravel AI SDK, Laravel MCP and Laravel Boost: the AI ecosystem.
Frontend
- Starter kits, Inertia and Livewire.
Environment and infrastructure
- Herd, Sail, Forge, Vapor, Laravel Cloud and Nightwatch.
Testing
- Pest and testing in Laravel.