Basics of the Symfony Framework – Web Application Development (SMF1)

Programming, Web Programming

This course introduces the basics of the Symfony framework and its core components like Twig and Doctrine. You will learn to structure modern PHP applications, manage dependencies with Composer, and understand MVC and PSR standards.

The course mixes theory and hands-on practice to build a simple web app using Doctrine ORM, Twig templates and Dependency Injection. You will debug with Symfony Profiler and Xdebug, handle HTTP requests, sessions and implement CRUD features.

THIS TRAINING COURSE WILL HELP YOU:

  • Understand core concepts of modern Symfony framework
  • Apply MVC, Dependency Injection and PSR-4 standards
  • Build a simple Symfony app using Twig and Doctrine
  • Debug applications with Symfony Profiler and Xdebug

WHO SHOULD ATTEND?

  • PHP developers starting with a modern framework
  • Development teams planning to adopt Symfony
  • Students and self-learners building web apps

COURSE LOCATION AND AVAILABLE DATES

Contact us

Public courses are usually delivered in Czech, but this course is also available in English. We can arrange private training for your team online, at your premises or in our classrooms, and tailor the content to your needs.

For groups of around 4 or more participants, private training can already be comparable in price to booking individual places on a public course. Send us your requirements and we’ll recommend the best format and provide an exact quote.

Request training in English

Course content:

Hide details
  • Review of OOP in PHP
    1. Basic classes
    2. Interfaces and inheritance
    3. Namespaces
  • What's new in PHP 8
    1. Union types
    2. Nullsafe operator
    3. Named arguments
    4. Attributes vs docblocks
    5. match() construct
    6. Constructor property promotion
  • PSR-4 basics
    1. Class autoloading
    2. Project architecture
    3. Default namespace
    4. File naming conventions
  • Composer
    1. What is Composer?
    2. PSR-4 and Composer integration
  • Introduction to Symfony
    1. Overview of the framework
    2. MVC, Inversion of Control (IoC) and Dependency Injection
    3. Creating a project with Composer
    4. Installing bundles/extensions via Composer
    5. Project structure explained
    6. Symfony CLI
    7. First project run
    8. Project configuration using .env
  • Basic Symfony app debugging
    1. dump & dd commands
    2. Symfony Profiler
    3. Xdebug tool
  • Core components
    1. Controllers
    2. Routing
    3. Dependency Injection
    4. Creating a custom service/component
  • Twig templating system
    1. Why use Twig?
    2. Building templates
    3. Integrating Bootstrap
    4. Outputting variables and filters
    5. Conditions and loops
    6. Template inheritance and blocks
    7. Assets management
  • HTTP requests and responses
    1. Advanced routing (POST, GET)
    2. Debugging the router
    3. Working with user sessions
    4. Redirects
    5. Built-in response types (JSON, File)
  • Working with Doctrine ORM
    1. What is an ORM?
    2. Introduction to Doctrine ORM
    3. Installing and configuring Doctrine
    4. Database connection
    5. Entities and Repositories
    6. MakerBundle
    7. Advanced routing
  • Building a simple CRUD application
    1. Creating forms
    2. Validation and data handling
    3. Routing with EntityValueResolver
Prerequisites:
Basic PHP and OOP knowledge, plus basic HTML/CSS, familiarity with relational databases and HTTP.
Recommended previous course:
PHP – Introduction to Programming (PHP1)
Schedule:
3 days (9:00-17:00)
Price per person:
712.00 € ( 861.52 € incl. 21% VAT)

Training and learning environment