This is the tutorial that unlocks your true Symfony 5 potential. How? By talking about what's at the core of Symfony: services, config & environments.
Symfony 5 Fundamentals: Services, Config & Environments
These are the tools you'll need to take on any challenge with Symfony:
- Bundles give you services
- Finding and using services
- Configuring bundles (i.e. configuring services)
- Creating your own services
- Autowiring & binding custom arguments
- Symfony Environments
- The magical configuration loading mechanism
- Service parameters
- Environment Variables and .env
- Secrets management
- Having fun with magic & the Logger
- Bonus: The MakerBundle
By the end, you'll see truly understand the fundamentals behind how any part of Symfony works. Need to use a new feature? You'll be ready!
About the Author: SymfonyCasts
SymfonyCasts (formerly KnpUniversity) is a US-based PHP / Symfony training platform run by Ryan Weaver, a Symfony core team member. The platform is the closest thing to an official video-tutorial source for the Symfony framework — Ryan's tutorials are the path most working Symfony developers learned the framework through.
The CourseFlix listing carries five SymfonyCasts titles: Symfony 5 Fundamentals — Services, Config & Environments, API Platform — Serious RESTful APIs, Messenger! Queue Work for Later, phpspec — Testing / Designing with a Bite, and the SymfonyCon 2018 Lisbon Conference Videos. Material is paid and aimed at PHP developers building production Symfony applications.
For broader content, see CourseFlix's Symfony and PHP category pages where SymfonyCasts material sits alongside the wider PHP teaching community.
Watch Online 23 lessons
| # | Lesson Title | Duration | Access |
|---|---|---|---|
| 1 | 01. Bundles! Demo | 06:11 | |
| 2 | 02. KnpMarkdownBundle & Service | 07:56 | |
| 3 | 03. Cache Service | 05:02 | |
| 4 | 04. Configuring Bundles | 06:31 | |
| 5 | 05. The Service Container & Autowiring | 06:24 | |
| 6 | 06. Configuring the Cache Service | 06:46 | |
| 7 | 07. Environments | 09:09 | |
| 8 | 08. Controlling the prod Environment | 04:26 | |
| 9 | 09. Creating a Service | 05:03 | |
| 10 | 10. Autowiring Dependencies into a Service | 06:45 | |
| 11 | 11. Parameters | 07:59 | |
| 12 | 12. Service Config & Non-Autowireable Arguments | 07:02 | |
| 13 | 13. All about services.yaml | 06:22 | |
| 14 | 14. Binding Global Arguments | 03:02 | |
| 15 | 15. Named Autowiring | 05:18 | |
| 16 | 16. Fetching Non-Autowireable Services | 05:59 | |
| 17 | 17. Controllers: Boring, Beautiful Services | 02:55 | |
| 18 | 18. Environment Variables | 08:29 | |
| 19 | 19. The Secrets Vault | 07:39 | |
| 20 | 20. Using & Overriding Secrets | 05:22 | |
| 21 | 21. MakerBundle & Autoconfigure | 04:43 | |
| 22 | 22. Playing with a Custom Console Command | 04:45 | |
| 23 | 23. Making a Twig Extension (Filter) | 06:52 |
Get instant access to all 22 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.
Learn more about subscriptionCourse content
23 lessons · 2h 20m 40sShow all 23 lessons
- 1 01. Bundles! 06:11
- 2 02. KnpMarkdownBundle & Service 07:56
- 3 03. Cache Service 05:02
- 4 04. Configuring Bundles 06:31
- 5 05. The Service Container & Autowiring 06:24
- 6 06. Configuring the Cache Service 06:46
- 7 07. Environments 09:09
- 8 08. Controlling the prod Environment 04:26
- 9 09. Creating a Service 05:03
- 10 10. Autowiring Dependencies into a Service 06:45
- 11 11. Parameters 07:59
- 12 12. Service Config & Non-Autowireable Arguments 07:02
- 13 13. All about services.yaml 06:22
- 14 14. Binding Global Arguments 03:02
- 15 15. Named Autowiring 05:18
- 16 16. Fetching Non-Autowireable Services 05:59
- 17 17. Controllers: Boring, Beautiful Services 02:55
- 18 18. Environment Variables 08:29
- 19 19. The Secrets Vault 07:39
- 20 20. Using & Overriding Secrets 05:22
- 21 21. MakerBundle & Autoconfigure 04:43
- 22 22. Playing with a Custom Console Command 04:45
- 23 23. Making a Twig Extension (Filter) 06:52
Related courses
-

Learn Symfony 3
By: KnpUniversityReady to get serious with Symfony? You've come to the right place! Get your first application off on the right foot by coding along with a real application, usi5 hours 40 minutes 26 seconds -

Messenger! Queue work for Later
By: SymfonyCastsSymfony's Messenger component gives you a beautiful system for designing your code around "message" objects and decoupled "handlers" that do the work! ... wait.5 hours 5 minutes 31 seconds -

SymfonyCon 2018 Lisbon Conference Videos
By: SymfonyCastsSymfonyCon 2018 Lisbon was a huge success! Over 900 attendees from around the world came together to learn, meet and share their experiences around Symfony.16 hours 27 minutes 28 seconds