framework
Laravel is a full-stack PHP web application framework that bundles routing, an IoC container, an Eloquent ORM, queues, broadcasting, caching, and migrations behind an expressive, developer-friendly API. This repository holds the framework's core packages (as opposed to the application skeleton).
MITPermissive — free to use in commercial and proprietary software, with attribution.View license →
Production readiness
4/5- Actively maintainedCommits in the last 6 months
- No known vulnerabilitiesNot yet scanned
- Clear, usable licenseMIT (permissive)
- Proven adoptionWidely used
- Has documentationDocumentation indexed
composer require frameworkOur analysis
Laravel is a batteries-included PHP web framework offering an expressive syntax over common web concerns: routing, dependency injection, ORM, migrations, queues, caching, sessions, and real-time broadcasting.
When to use framework
Choose Laravel for building server-rendered or API-driven PHP web applications where you want a cohesive, convention-driven stack with first-party tooling (Eloquent, Artisan, Blade, Horizon, Sanctum/Passport) and minimal wiring. It's ideal for teams that value rapid development, strong documentation, and a large ecosystem.
When not to
If your team isn't on PHP, you need a microframework with minimal footprint (Slim/Lumen), or you require the granular component-by-component decoupling that Symfony offers, Laravel may be too opinionated or heavyweight. Compute-heavy or low-latency concurrency workloads are often better served by Go/Node/Elixir.
Strengths
- Comprehensive, well-integrated feature set out of the box (ORM, queues, auth, broadcasting, caching)
- Exceptional documentation, Laracasts, and one of the largest PHP ecosystems and communities
- Expressive, readable API and powerful Artisan CLI plus first-party packages (Horizon, Sanctum, Octane, Nova)
- Database-agnostic migrations and a mature Eloquent ActiveRecord ORM
Trade-offs
- Highly opinionated and convention-heavy; fighting the conventions is painful
- Eloquent's ActiveRecord pattern can encourage tight model/data coupling and N+1 issues at scale
- Heavier runtime footprint than microframeworks; performance tuning may require Octane
- PHP-only, so not suitable for polyglot or high-concurrency needs without extra tooling
Maturity
Extremely mature and production-proven, with a major version cadence, large maintainer team and community, broad commercial backing (Forge, Vapor, Cloud), and one of the most active ecosystems in PHP.
About Laravel
Note: This repository contains the core code of the Laravel framework. If you want to build an application using Laravel, visit the main Laravel repository.
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:
Database agnostic schema migrations.
Laravel is accessible, yet powerful, providing tools needed for large, robust applications. A superb combination of simplicity, elegance, and innovation gives you a complete toolset required to build any application with which you are tasked.
Learning Laravel
Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. You can also check out Laravel Learn, where you will be guided through building a modern Laravel application.
If you're not in the mood to read, Laracasts contains thousands of video tutorials covering a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Boost the skill level of yourself and your entire team by digging into our comprehensive video library.
You can also watch bite-sized lessons with real-world projects on Laravel Learn, where you will be guided through building a Laravel application from scratch while learning PHP fundamentals.
Contributing
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
Code of Conduct
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The Laravel framework is open-sourced software licensed under the MIT license.