Symfony is a
free and open-source
Free and open-source software (FOSS) is software available under a Software license, license that grants users the right to use, modify, and distribute the software modified or not to everyone free of charge. FOSS is an inclusive umbrella term ...
PHP web application framework and a set of reusable PHP component libraries. It was published as
free software
Free software, libre software, libreware sometimes known as freedom-respecting software is computer software distributed open-source license, under terms that allow users to run the software for any purpose as well as to study, change, distribut ...
on October 18, 2005, and released under the
MIT License
The MIT License is a permissive software license originating at the Massachusetts Institute of Technology (MIT) in the late 1980s. As a permissive license, it puts very few restrictions on reuse and therefore has high license compatibility.
Unl ...
.
Goal
Symfony aims to speed up the creation and maintenance of web applications and to replace repetitive coding tasks. It's also aimed at building robust applications in an enterprise context, and aims to give developers full control over the configuration: from the directory structure to third-party 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.
Symfony has a low performance overhead used with a bytecode cache.
Technical
Symfony was heavily inspired by the
Spring Framework.
It makes heavy use of existing PHP open-source projects as part of the framework, including:
*
PDO database abstraction layer (1.1, with
Doctrine
Doctrine (from , meaning 'teaching, instruction') is a codification (law), codification of beliefs or a body of teacher, teachings or instructions, taught principles or positions, as the essence of teachings in a given branch of knowledge or in a ...
and Propel 1.3)
*
PHPUnit, a unit testing framework
*
Twig
A twig is a thin, often short, branch of a tree or Bush (plant), bush.
The buds on the twig are an important diagnostic characteristic, as are the abscission scars where the leaves have fallen away. The color, texture, and patterning of the t ...
, a templating engine
* Swift Mailer, an e-mail library
Symfony also makes use of its own components, which are freely available on the Symfony Components site for various other projects:
* Symfony YAML, a
YAML parser based upon Spyc
* Symfony Event Dispatcher
* Symfony Dependency Injector, a
dependency injector
* Symfony Templating, a templating engine
Sponsors
Symfony is sponsored by SensioLabs, a
French software developer and
professional services Professional services are occupations in the service sector requiring special training in liberal arts and pure sciences education or professional development education. Some professional services, such as architects, accountants, engineers, d ...
provider. The first name was Sensio Framework, and all classes were therefore prefixed with sf. Later on when it was decided to launch it as
open-source framework, the brainstorming resulted in the name symfony (being renamed to Symfony from version 2 and on), which matches the existing theme and class name prefixes.
Real-world usage
* Symfony is used by the open-source Q&A service Askeet and many more applications, including
Delicious website.
* At one time it was used for 20 million users of Yahoo! Bookmarks.
* As of February 2009,
Dailymotion.com has ported part of its code to use Symfony, and is continuing the transition.
* Symfony is used by OpenSky, a social shopping platform, and the Symfony framework is also used by the massively multiplayer online browser game
eRepublik, and by the content management framework
eZ Publish in version 5.
*
Drupal 8,
phpBB
phpBB is an Internet forum package written in the PHP scripting language. The name "phpBB" is an abbreviation of ''PHP Bulletin Board''. Available under the GNU General Public License, phpBB is Free and open-source software, free and open-sourc ...
and a number of other large applications have incorporated components of Symfony.
* Symfony is also used by Meetic, one of the largest online dating platforms in the world, on most of its websites for implementing its business logic in the backend.
* Symfony components are also used in other web application frameworks including
Laravel, which is another
full-stack framework, and Silex, which is a microframework.
*
Vogue Paris's website is also built on the Symfony framework
Symfony's own website has a comprehensive list of projects using Symfony and a showcase of websites built with Symfony.
Releases
Symfony manages its releases through a time-based model; a new Symfony release comes out every six months: one in May and one in November. This release process has been adopted as of Symfony 2.2, and all the "rules" explained in this document must be strictly followed as of Symfony 2.4.
The standard version of Symfony is
maintained for eight months, whereas
long-term support (LTS) versions are supported for three years. A new LTS release is published
biennially.
The latest stable release is version 7.3 and current LTS release is version 6.4.
Symfony releases as of 2025-06-17.
/ref>
See also
* Comparison of server-side web frameworks
* Lime, a Test framework for Symfony 1
* Zend Framework
References
Further reading
*Potencier, Fabien. (2022).
Symfony 6: The Fast Track
'. Leanpub.
*Potencier, Fabien and Zaninotto, François. (2007). ''The Definitive Guide to symfony.'' Apress. .
*Potencier, Fabien. (2009). ''Practical symfony'' (2009). Sensio Labs Books. Doctrine
Doctrine (from , meaning 'teaching, instruction') is a codification (law), codification of beliefs or a body of teacher, teachings or instructions, taught principles or positions, as the essence of teachings in a given branch of knowledge or in a ...
edition, , Propel edition, , and Spanish edition available on lulu.com.
*Fabien Potencier, Hugo Hamon: ''Symfony, Mieux développer en PHP avec symfony 1.2 et Doctrine'', Eyrolles 2009, , French
*Tim Bowler, Wojciech Bancer (2009). ''Symfony 1.3 Web Application Development'', Packt. .
External links
*
SymfonyCasts
{{Authority control
Free software programmed in PHP
PHP frameworks
Software using the MIT license
Web frameworks