Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

SymfonyCasts

Symfony 6 Fundamentals: Services, Config & Environments

via SymfonyCasts

Overview

Ready to unlock your true Symfony 6 potential... to be able to take on any task, because you understand how things work under the hood??? This is the tutorial for you. We attack what's at the core of Symfony: services, config, environments & environment variables. These are the tools you'll need to take on any challenge with Symfony:

  • Hello bundles! Bundles give you services
  • Installing new bundles
  • Finding and using services (including debug:container)
  • 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 vault management
  • Autoconfiguration
  • Bonus: MakerBundle!

By the end, it's true! You'll understand the fundamentals behind how any part of Symfony works. Need to use a new feature? You'll be ready!

Syllabus

  • Bundles!
  • New Bundle, New Service: KnpTimeBundle
  • Finding & Using the Services from a Bundle
  • The HTTP Client Service
  • The Cache Service
  • Bundle Config (to Control Bundle Services)
  • Configuring the Cache Service
  • debug:container & How Autowiring Works
  • Environments
  • The "prod" Environment
  • Creating a Service
  • Dependency Injection
  • Parameters
  • Manual Service Config in services.yaml
  • All About services.yaml
  • Bind Arguments Globally
  • Named Autowiring & Scoped HTTP Clients
  • Non-Autowireable Services
  • Controllers are Services Too!
  • Environment Variables
  • The Secrets Vault
  • Reading Secrets vs Env Vars
  • MakerBundle & Autoconfiguration
  • Customizing a Command
  • Command: Autowiring & Interactive Questions

Taught by

Ryan Weaver

Reviews

Start your review of Symfony 6 Fundamentals: Services, Config & Environments

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.