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

SymfonyCasts

Symfony 4 Fundamentals: Services, Config & Environments

via SymfonyCasts

Overview

Ready to take your Symfony skills to the next level? Then let's talk about what's at the core of Symfony: services and the container. In this tutorial, you'll learn about what makes your app "tick", including:

  • Installing external packages
  • Finding and using services
  • Configuring bundles (i.e. configuring outside services)
  • Symfony Environments
  • The magical configuration loading mechanism
  • Service parameters
  • Environment Variables and .env
  • Bonus: The MakerBundle

By the end, you'll see how your app works under-the-hood and understand the fundamentals behind any feature in Symfony. Let's go!

Syllabus

  • Bundles give you Services
  • KnpMarkdownBundle & its Services
  • The Cache Service
  • Configuring a Bundle
  • debug:container & Cache Config
  • Explore! Environments & Config Files
  • Leveraging the prod Environment
  • Creating Services!
  • Using Non-Standard Services: Logger Channels
  • services.yaml & the Amazing bind
  • Config Parameters
  • Constructors for your Controller
  • Installing Bundles with "Average" Docs
  • Autowiring Aliases
  • Environment Variables
  • Env Var Tricks & on Production
  • Bonus! LoggerTrait & Setter Injection
  • MakerBundle
  • Fun with Commands

Taught by

Ryan Weaver

Reviews

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