Symfony Interview Questions and Answers

Symfony Interview Questions and Answers

Symfony is an open-source PHP web application framework, designed for developers who need a simple and elegant toolkit to create full-featured web applications. Symfony is sponsored by Sensio Labs. It was developed by Fabien Potencier in 2005. The Symfony PHP framework comes with a very large and active community. This framework has become very popular, mainly due to the vast number of reusable PHP components. These components are not limited to the framework itself but can be found throughout the PHP community, such as Drupal, WordPress, phpBB, and Laravel.

Symfony 2 was released in 2011, but it must not be confused with Symfony 1, which was a totally different framework with different underlying principles. Symfony 2 is created by Fabien Potencier. Symfony is aimed at building robust applications in an enterprise context, and aims to give developers full 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.

Symfony was published as free software on October 18, 2005 and released under the MIT license. Current is Symfony v5.0.0 / 21 November 2019.

What is Symfony?

Why Symfony?

What are the features of Symfony?

What is controller in symfony?

What are bundles in symfony?

What is format of view file?

How to get current route in Symfony?

How to create a symfony application using composer?

What is Symfony 2?

How to create Action of controller in Symfony2?

How to set and get session in symfony2?

How to get the request parameters in symfony2?

How to create controller in Symfony2?

Why Twig use in symfony?

What is Route?

Which template engine symfony supports?

What are benefits of Symfony?

What are cons of Symfony?