The PHP framework for web artisans.
open sourceMITself-hostablefree
Laravel is a batteries-included PHP framework for building web applications. It covers routing, a dependency injection container, the Eloquent ORM and migrations, queues for background jobs, task scheduling, real-time event broadcasting, mail and notifications, cache and session back ends, authentication and authorization, file storage and testing. Starter kits set up React, Vue or Svelte through Inertia, or Livewire for server-driven UI, and first-party packages add Stripe and Paddle billing, queue monitoring, OAuth login, full-text search, a WebSocket server and an MCP server. The laravel new installer and the Artisan console generate and run apps; Laravel the company sells hosting and tools (Cloud, Forge, Vapor, Nightwatch, Nova) separately.
Problems it solves
- build a SaaS backend quickly with auth, billing, queues and an ORM in PHP
- add Stripe subscriptions with trials, invoices and plan swaps without writing the billing logic myself
- I want a React front end but don't want to build and version a separate JSON API for it
- run background jobs and see a dashboard of what's queued, running and failed
- add 'Sign in with Google and GitHub' to my web app
- schedule recurring tasks in code instead of maintaining a crontab on the server
- my old PHP site is a pile of include files and I want structure, routing and migrations
- push real-time events to the browser from a PHP app with our own websocket server
- issue API tokens to users and protect a JSON API
- an expressive ORM where I define relationships on models instead of writing SQL joins
- let my AI coding assistant understand my web framework's conventions and docs
- build an MCP server inside my existing web app
Features
- Routing, middleware and a dependency injection container
- Eloquent ORM, query builder, migrations and seeding
- Queues and background job processing
- Task scheduling
- Real-time event broadcasting
- Mail and notifications
- Authentication, authorization, email verification and password reset
- Multiple cache and session back ends
- File storage
- Blade templates and Vite asset bundling
View 4 more
- Starter kits for React, Vue and Svelte (Inertia) or Livewire
- Artisan console and
laravel newinstaller - First-party packages: Cashier, Horizon, Reverb, Sanctum, Socialite, Scout, Octane, Pennant, Pulse, Telescope, Dusk, Sail
- AI SDK, Boost (MCP server for development) and Laravel MCP
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what Laravel does.
- Django The web framework for perfectionists with deadlines.
- Ruby on Rails Accelerate your agents with convention over configuration.
- Next.js The React framework for the web.
- Phoenix Peace of mind from prototype to production.
- Loco The one-person framework for Rust.
- CodeIgniter The small framework with powerful features
