SF6PACK5J | Web Development with Symfony 6
- This five-day course dedicated to Symfony is the perfect training to master all the fundamental concepts and the most advanced tools of Symfony 6. At the end of this workshop, we guarantee you will be fully autonomous on the Symfony 6 framework and more!
-
Prerequisites
Mastering PHP essentials -
Goals
This intensive four-day training combines both the « SF6START / Getting Started with Symfony 6 » and « SF6MASTER / Mastering Symfony 6 » courses and covers all the fundamental topics of Symfony 6. You'll start with the basics such as installing Symfony, navigating the directory structure, and generating your very first dynamic web pages with Twig. Then, you will dive more in-depth into more advanced topics and tools. Like forms and data validation, authentication and authorizations, dependency injection, automated testing, and HTTP caching. This training is delivered by our Symfony expert and contributor instructors, who enjoy sharing their experience, best practices as well as tips and tricks to help you be more efficient and autonomous with Symfony 6.
Full program
Which IDE ?
Evolution of PHP OOP
- History of PHP OOP
- PSR
OOP basics
- What is OOP?
- Anatomy of a class
- PHP types
Advanced OOP concepts
- Inheritance in OOP
- static and constants
- Interfaces
- Abstract classes
- Features
- Magic methods
Exceptions and errors
Relationship between classes
- Inheritance
- Implementation
- Association
- Aggregation
- Composition
Namespaces
Autoload
Introduction
- Overview of the Symfony project, including license, releases, roadmap, guidelines with Symfony framework and useful components as example of doable things.
- Work environment and Symfony command line tool
- Installation of a Symfony project
First steps with Symfony
- How to handle a Request - Response flow
- Create your first web page
- Fine-tune your application routes with parameters and requirements
- Best practises when using controllers and their helpers
Introduction to functional tests
- Explanations about automated tests and functional tests
- Get ready with PHPUnit to run automated tests
- Write your first test to check a status code over a web page
- Use a data provider to provide URLs to be checked
Templating with Twig
- Introduction to Twig
- Learn Twig’s basic syntax
- Use the Dot syntax helper in your templates
- Use Twig to loop over data from a controller and test some conditions to design your web page
- Use layout techniques with inheritance and template inclusions to reduce your template
- Best solutions to get help with the Symfony console and the web profiler
- Create dynamic URLs in your templates to access another web page or link an asset
Web assets with Webpack Encore
- Short introduction to Webpack Encore and Yarn
- Installation and configuration of the required bundle
- Optimize your assets with Webpack Encore
Introduction to Doctrine
- Introduction to the Doctrine ORM and configuration of your project to access the database
- Create your own entities and their mapping with the Symfony maker
- Create and apply migrations to manage the state of your database at anytime
- Handle relations between 2 entities
- Store data in the database by using a controller
- Retrieve data from the database by using built-in or custom queries
Forms
- Introduction to Symfony forms
- Create your own form with custom types
- Handle submitted data
- Use Symfony built-in constraints to get validated data
Services
- Introduction to dependency injection and Symfony services
- Use the best way to get the list of available services to deal with
- Use the autowiring to inject dependencies on a constructor, a setter or a property
- Check custom configuration of your services
- Services and environment variables
Console
- About console commands, and how to create interactive commands, batch commands…
- Write your own commands
- Use helpers from SymfonyStyle to get life easier
- Declare and handle new options and arguments in your command
Security
- Introduction to Authentication and Authorization in a Symfony project
- Create your own authenticator with "SECURITY"
- Check the users’ roles to let them access a given resource
- Create custom voters to handle rare situations requiring a PHP check
Events
- Introduction to events and how to dispatch them in a Symfony project
- Create subscribers to declare listeners
- Important built-in events
Online review platform - 1 month access
- Daily test
- Documentation
Appreciation of the training
Global average : 4,6/5
- Educational rating : 4,8/5
- Content rating : 4,6/5
- Pace rating : 4,6/5
Evaluative methods
- A control of knowledge in the form of multiple choice questions is carried out during and at the end of the training. It allows to validate and take back the points not assimilated.
- A certificate of successful completion of a training action is sent to the learner.
- A copy of the attendance sheet is transmitted.
Terms of registration
- Registration can only be made using the registration form available on our website or via the training team e-mail.
- Registration will be completed only after receiving the signed aggreement and the full payment before the start of the training.
-
Duration
5 day(s)
-
Level
Beginner
-
Available languages
French, English, German -
Available countries
Worldwide, France, Germany, Spain, United Kingdom, United States
From €2,490.00
12 upcoming sessions
-
From 27/01
to 31/01/25Paris
France€2,490.00 -
From 24/02
to 28/02/25Paris
France€2,490.00 -
From 24/03
to 28/03/25Paris
France€2,490.00 -
From 14/04
to 18/04/25Paris
France€2,490.00 -
From 19/05
to 23/05/25Paris
France€2,490.00 -
From 23/06
to 27/06/25Paris
France€2,490.00 -
From 21/07
to 25/07/25Paris
France€2,490.00 -
From 18/08
to 22/08/25Paris
France€2,490.00 -
From 22/09
to 26/09/25Paris
France€2,490.00 -
From 20/10
to 24/10/25Paris
France€2,490.00 -
From 17/11
to 21/11/25Paris
France€2,490.00 -
From 15/12
to 19/12/25Paris
France€2,490.00
You are not available at this periods? We organize tailored training courses: contact us for more informations!