Skip to main content
CF

Symfony 5 Fundamentals: Services, Config & Environments

2h 20m 40s
English
Paid

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.

 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 thumbnail

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

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 23 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: 01. Bundles!
All Course Lessons (23)
#Lesson TitleDurationAccess
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
Unlock unlimited learning

Get instant access to all 22 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Related courses

Frequently asked questions

What are the prerequisites for enrolling in this Symfony 5 course?
Before enrolling, you should have a basic understanding of PHP and web development concepts. Familiarity with the Symfony framework's basics is recommended but not required, as the course will delve deeply into the core concepts such as services, configuration, and environments.
What will I build or create during this course?
Throughout the course, you will work on configuring services and environments, creating and managing Symfony services, and developing a custom console command. You will also explore how to make a Twig extension and use the MakerBundle for autoconfiguration.
Who is the target audience for this course?
This course is targeted at PHP developers who are interested in mastering Symfony 5. It's ideal for those who want to deepen their understanding of services, configuration, and environments within Symfony applications.
How does the depth of this course compare to other Symfony courses?
This course focuses specifically on the core aspects of Symfony 5: services, configuration, and environments. It provides detailed lessons on these topics, such as configuring the Cache Service, autowiring dependencies, and managing environment variables, making it more specialized than a general introduction to Symfony.
What specific tools or platforms are taught in this course?
The course covers several Symfony-specific tools and concepts, including KnpMarkdownBundle, the Service Container, and MakerBundle. You'll also learn about using and configuring the Cache Service and managing secrets with the Secrets Vault.
What topics are not covered in this course?
The course does not cover front-end development, Symfony security features, or advanced database integrations. Its primary focus is on understanding and implementing Symfony 5 services, configuration, and environments.
How much time should I expect to commit to this course?
The course consists of 23 lessons. While the total runtime is not specified, you should allocate additional time for practical exercises and experimenting with the concepts introduced in each lesson. The commitment will vary based on your prior experience with Symfony.