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

SymfonyCasts

Symfony 7 Fundamentals: Services, Config & Environments

via SymfonyCasts

Overview

Time to unlock your full Symfony 7 potential: to be able to take on any task, because you understand how things work under the hood. This tutorial is all about jumping from "I can do some stuff with Symfony" to "I can do anything, just point me at the task and I'll figure it out!".

That's because 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
  • The debug:container and debug:autowiring Symfony console commands
  • Configuring bundles (i.e. configuring services)
  • The when@ syntax in configuration files
  • Autowiring & binding custom arguments
  • The #[Autowire] attribute
  • Symfony Environments
  • Service Parameters
  • Environment Variables and .env files
  • Environment Variable Processors
  • Autoconfiguration
  • Creating a custom Twig function

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

Syllabus

  • Setup, Services & the Service Container
  • KnpTimeBundle: Install the Bundle, Get its Service
  • The HTTP Client Service
  • Cache Service and Cache Pools
  • Bundle Config: Configuring the Cache Service
  • How autowiring works
  • Symfony Environments
  • The Prod Environment
  • More about Services
  • Parameters
  • Non-Autowireable Arguments
  • Non-autowireable services
  • Environment Variables
  • Autoconfiguration

Taught by

Victor Bocharsky and Ryan Weaver

Reviews

Start your review of Symfony 7 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.