YoVDO

Symfony 7 Fundamentals: Services, Config & Environments

Offered By: SymfonyCasts

Tags

Symfony Courses Autowiring Courses

Course Description

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

Related Courses

API Platform 3 Part 3: Custom Resources
SymfonyCasts
API Platform 3 Part 2: Security for your Treasures
SymfonyCasts
Dependency Injection and the art of services and containers
SymfonyCasts
Mastering Doctrine Relations
SymfonyCasts
EasyAdmin! For an Awesomely Powerful Admin Area
SymfonyCasts