A PHP framework for web applications, built from reusable components
open sourceMITfree
Symfony is a full-stack PHP framework for websites, web applications and APIs, with security, routing, templates, an ORM, validation, email and testing out of the box. It is built on the Symfony components, a set of decoupled PHP packages (Console, HttpKernel, DependencyInjection, Yaml, Process, VarDumper and many more) that other projects use on their own, among them Drupal, PrestaShop, Laravel and Composer. Symfony Console powers command-line apps and code generation, and Symfony UX with Turbo and Stimulus builds interactive interfaces with little JavaScript. Symfony SAS holds the trademark and sells hosting, code quality checks, certification and training around it.
Problems it solves
- build a large PHP web application on a framework that will still be supported in five years
- write a PHP command-line tool with arguments, options, prompts and coloured output
- reuse a solid YAML parser, process runner or HTTP kernel in my own PHP project without taking a whole framework
Features
- routing, a dependency injection container and an HTTP kernel
- security, forms, validation, templates and email
- the Console component for command-line apps
- decoupled components usable outside the framework
- Symfony UX with Turbo and Stimulus
- long-term support releases
Capabilities
| Takes plugins | plan not known |
|---|
Alternatives
The same job
These do what Symfony does.
- CodeIgniter The small framework with powerful features
- Laravel The PHP framework for web artisans.
- Yii PHP framework for rapid development of modern applications
