> Symfony 7 >

Course Overview

Login to bookmark this course

Symfony 7 Fundamentals: Services, Config & Environments

Learn how Symfony *really* works, then solve any problem.

  • beginner
  • 1132 students
  • EN/ES Captions
  • EN/ES Script
  • Certificate of Completion

Your Guides

About this course

What PHP libraries does this tutorial use?

// composer.json
{
    "require": {
        "php": ">=8.2",
        "ext-ctype": "*",
        "ext-iconv": "*",
        "knplabs/knp-time-bundle": "^2.2", // v2.2.0
        "php-cs-fixer/shim": "^3.46", // v3.46.0
        "phpdocumentor/reflection-docblock": "^5.3", // 5.3.0
        "phpstan/phpdoc-parser": "^1.25", // 1.25.0
        "symfony/asset": "7.0.*", // v7.0.3
        "symfony/asset-mapper": "7.0.*", // v7.0.2
        "symfony/console": "7.0.*", // v7.0.2
        "symfony/dotenv": "7.0.*", // v7.0.2
        "symfony/flex": "^2", // v2.4.3
        "symfony/framework-bundle": "7.0.*", // v7.0.2
        "symfony/http-client": "7.0.*", // v7.0.5
        "symfony/monolog-bundle": "^3.0", // v3.10.0
        "symfony/property-access": "7.0.*", // v7.0.0
        "symfony/property-info": "7.0.*", // v7.0.0
        "symfony/runtime": "7.0.*", // v7.0.0
        "symfony/serializer": "7.0.*", // v7.0.2
        "symfony/stimulus-bundle": "^2.13", // v2.13.3
        "symfony/twig-bundle": "7.0.*", // v7.0.0
        "symfony/ux-turbo": "^2.13", // v2.13.2
        "symfony/yaml": "7.0.*", // v7.0.0
        "symfonycasts/tailwind-bundle": "^0.5.0", // v0.5.0
        "twig/extra-bundle": "^2.12|^3.0", // v3.8.0
        "twig/twig": "^2.12|^3.0" // v3.8.0
    },
    "require-dev": {
        "symfony/debug-bundle": "7.0.*", // v7.0.0
        "symfony/maker-bundle": "^1.52", // v1.53.0
        "symfony/stopwatch": "7.0.*", // v7.0.0
        "symfony/web-profiler-bundle": "7.0.*" // v7.0.2
    }
}

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!

Next courses in the Symfony 7: The Fundamentals section of the Symfony 7 Track!

2 Comments

Sort By
Login or Register to join the conversation
Christian-R avatar Christian-R 1 month ago

pretty neat

| Reply |
jimmyhich avatar jimmyhich 3 months ago

thank you

| Reply |

Delete comment?

Share this comment

astronaut with balloons in space

"Houston: no signs of life"
Start the conversation!