Symfony is a PHP framework plus reusable packages for building web apps, APIs, microservices, and command-line tools. Install it with Composer.
Overview
Symfony targets full-stack web work and console programs through the same ecosystem. As a framework it bundles common needs such as security, routing, templating, database access, validation, mail, and automated testing.
Standalone components can be adopted separately and are used by other PHP projects. Symfony Console underpins CLI tooling and day-to-day developer workflows, including code generation and deployment helpers.
Documentation spans getting-started material, demo applications, guided books, and component references. Releases follow semantic versioning, with long-term support tracks aimed at predictable upgrade planning for production codebases.
The surrounding ecosystem includes API Platform for HTTP APIs and Symfony UX with Turbo and Stimulus for interface work. Separate commercial offerings cover hosting, upgrades, and project analysis, but the core framework remains the foundation teams extend in their own code.
Key features
- Reusable PHP component library
- Full-stack web application tooling
- Symfony Console for CLI programs
- Built-in security and routing
- ORM, validation, and email support
- Long-term support release line
- API Platform integration path
- Symfony UX, Turbo, and Stimulus
Use cases
- Building enterprise PHP web applications
- Shipping JSON APIs and microservices
- Authoring maintenance and deploy CLIs
- Adopting single components in existing code
- Projects needing predictable release cadence