Skip to main content

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
Woh, hey! I'm Ryan - the lead trainer and one of your friends here at SymfonyCasts. Look, I love being a developer, but the road to becoming a productive programmer is not easy. When I started, good information was buried by theory and real-world examples were non-existent. There's a great developer stuck inside each of us! And in 2011, I started SymfonyCasts (formerly: KnpUniversity) to help more people discover and unlock that potential by using better methods of learning. Being the documentation lead for a massive open source project (Symfony), a frequent speaker and an in-person trainer for 5 years has helped us craft our strict philosophy for real, significant learning. Build real-world projects from end-to-end, via beautiful video tutorials NEVER use slides (gross!) Have some fun! We promise energy, space-ship animations, and embarrassing (I mean intelligent) jokes Practice, practice, practice using our realistic coding challenges. Then enjoy a sandwich! Keep things simple and save the heroically difficult details for later (or never!) Now, it's your turn. So suit up (pajamas are the official uniform), get ready to work hard, and finally awaken the amazing developer that's hiding inside of you!

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