Symfony refers to both a PHP framework for building web applications as well as a set of components on which the framework is built. This tag refers to the currently supported major versions 3.x, 4.x, 5.x and 6.x. Alternatively, you can specify an exact version using the respective tag. This tag should not be used for questions about Symfony 1.x. Please use the Symfony1 tag instead.
Symfony is a php framework for web and CLI-applications built on top of a catalogue of Symfony components. It is free software released under the MIT license. The project's homepage is symfony.com.
Symfony aims to speed up the creation and maintenance of web applications and replace repetitive coding tasks by providing a rich set of components and integrations for other libraries through bundles. It has a low-performance overhead used with a bytecode cache and is aimed at building robust applications in an enterprise context, and aims to give developers complete control over the configuration: from the directory structure to the foreign libraries. Almost everything can be customized. To match enterprise development guidelines, Symfony is bundled with additional tools to help developers test, debug and document projects. Most of the components making up the framework can be used outside of the framework in other projects and libraries.
Components
Besides being a full-stack framework, Symfony is also a set of decoupled and Components.
Some of the Components have their own tag: symfony-console symfony-forms symfony-security symfony-routing symfony-process symfony-messenger
Information
This tag should be used for generic Symfony questions. You can also use other tags when the question is related to a specific version: symfony-2.0, symfony-2.1, symfony-2.2, symfony-2.3, symfony-2.4, symfony-2.5, symfony-2.6, symfony-2.7, symfony-2.8, symfony-3.0, symfony-3.1, symfony-3.2, symfony-3.3, symfony-3.4, symfony-4.0, symfony-4.1, symfony-4.2, symfony-4.3, symfony-4.4, symfony5 and symfony6.
If your question is about Symfony 1.x, please use symfony1 instead.
The latest stable version can be found on the releases page.
Symfony also maintains Long Term Support (LTS) releases, which are held for several years (while “normal” releases are only maintained for about eight to ten months). The Symfony team is committed to providing a direct upgrade path between Long Term Support releases.
Related projects
Symfony is used as a basis for many other projects, such as easyadmin, api-platform.com or sonata
Useful links
Note: Before using any documentation, verify that the version of the documentation matches the Symfony version of your installation.
- Wikipedia Article
- Symfony at a Glance
- Source code is available on GitHub
- The bugtracker too
- The (latest) official documentation
- The quick tour
- Contributors
- symfony-cmf
- FOSUserBundle & A screencast deployment
- Blackfire PHP Performance
Upgrade between each version:
Interesting questions:
- Should everything really be a bundle in Symfony 2.x?
- How to structure a project in Symfony2?
- Symfony 4: Best Practices
- Symfony 4: Monolith vs Micro
- The 30 Most Useful Symfony Bundles
Symfony is released under the MIT license. The full license text is available on the website.