YoVDO

Symfony 6 Fundamentals: Services, Config & Environments

Offered By: SymfonyCasts

Tags

Symfony Courses Dependency Injection Courses Autowiring Courses

Course Description

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

Related Courses

Advanced Java
LearnQuest via Coursera
Архитектура Android-приложений
Moscow Institute of Physics and Technology via Coursera
Angular 17
LearnQuest via Coursera
Backend Development for .Net Full Stack
Board Infinity via Coursera
Learn ASP.NET
Codecademy