Symfony

Symfony

BACKEND

Full-stack PHP framework developed by SensioLabs offering modular architecture based on reusable components. Solid design patterns (MVC, Dependency Injection), extensible bundle system, powerful Doctrine ORM and rich ecosystem for building scalable and maintainable web applications.

What you'll learn

Modern PHP with strict typing, PHP 8+ attributes and PSR-4 autoloading

MVC architecture with controllers, routes and Twig template engine

Native Dependency Injection with autowiring and YAML/XML/PHP configuration

Doctrine ORM with entities, repositories, migrations and DQL

Reusable bundles for modularity and code organization

Symfony Console for CLI commands and automated scripts

Security component for authentication, authorization and firewall

Form component with validation, CSRF protection and theming

Messenger component for async/queue with transports (RabbitMQ, Redis)

Comprehensive testing (PHPUnit, functional tests, Panther for E2E)

Key topics to master

The most important concepts to understand this technology and ace your interviews

1

PHP: namespaces, PSR-4 autoloading, traits, interfaces, strict typing PHP 8+

2

Symfony architecture: HttpKernel, Request/Response cycle, events, kernel listeners

3

Controllers: routing, annotations/attributes, request parameters, response types

4

Routing: YAML/annotations/attributes, route parameters, requirements, prefixes

5

Dependency Injection: services, autowiring, service container, compiler passes

6

Doctrine ORM: entities, annotations/attributes, associations (@OneToMany, @ManyToOne)

7

Doctrine repositories: custom queries, QueryBuilder, DQL (Doctrine Query Language)

8

Migrations: DoctrineMigrationsBundle, versioning, up/down migrations

9

Twig: template syntax, filters, functions, inheritance (extends, block), includes

10

Forms: FormType, form builders, validation constraints, custom form types

11

Validation: constraint annotations (@NotBlank, @Email), custom validators, groups

12

Security: authentication providers, voters, firewalls, role hierarchy, remember me

13

Events: EventDispatcher, event subscribers, kernel events (request, response, exception)

14

Serializer: normalization, denormalization, groups, custom normalizers, formats (JSON, XML)

15

Messenger: message handlers, transports, async processing, retry strategies

16

Console: commands (Command class), input/output, helpers, progress bars

17

HTTP Client: HttpClient component, requests, authentication, retry mechanism

18

Cache: cache pools, cache tags, adapters (Redis, APCu, Filesystem)

19

Bundles: bundle structure, extension class, configuration, third-party bundles

20

Testing: PHPUnit, WebTestCase, functional tests, fixtures, mocking

21

Performance: profiler, caching strategies, lazy loading, opcache, preloading PHP 8

22

API Platform: REST/GraphQL APIs on top of Symfony, serialization, filters, pagination

23

Deployment: Symfony CLI, environment variables (.env), Docker, composer optimize