Flag of Ukraine
SymfonyCasts stands united with the people of Ukraine

Symfony 6 Fundamentals: Services, Config & Environments


What you'll be learning

// composer.json
    "require": {
        "php": ">=8.1",
        "ext-ctype": "*",
        "ext-iconv": "*",
        "knplabs/knp-time-bundle": "^1.18", // v1.19.0
        "symfony/asset": "6.1.*", // v6.1.0-RC1
        "symfony/console": "6.1.*", // v6.1.0-RC1
        "symfony/dotenv": "6.1.*", // v6.1.0-RC1
        "symfony/flex": "^2", // v2.1.8
        "symfony/framework-bundle": "6.1.*", // v6.1.0-RC1
        "symfony/http-client": "6.1.*", // v6.1.0-RC1
        "symfony/monolog-bundle": "^3.0", // v3.8.0
        "symfony/runtime": "6.1.*", // v6.1.0-RC1
        "symfony/twig-bundle": "6.1.*", // v6.1.0-RC1
        "symfony/ux-turbo": "^2.0", // v2.1.1
        "symfony/webpack-encore-bundle": "^1.13", // v1.14.1
        "symfony/yaml": "6.1.*", // v6.1.0-RC1
        "twig/extra-bundle": "^2.12|^3.0", // v3.4.0
        "twig/twig": "^2.12|^3.0" // v3.4.0
    "require-dev": {
        "symfony/debug-bundle": "6.1.*", // v6.1.0-RC1
        "symfony/maker-bundle": "^1.41", // v1.42.0
        "symfony/stopwatch": "6.1.*", // v6.1.0-RC1
        "symfony/web-profiler-bundle": "6.1.*" // v6.1.0-RC1

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!

Your Guides

Ryan Weaver

Buy Access

Join the Conversation?

Login or Register to join the conversation
MolloKhan Avatar MolloKhan | SFCASTS | posted 1 year ago | edited

Hey there

This is a paid tutorial but we make free the very first chapters so you can get a better idea of what is this course about, however, the script and code blocks below the video are free so you can still follow the tutorial

Thank you for understanding. Cheers!

2 Reply
Ahmed Avatar

Thanks guys for this amazing content 🙏


Hey Ahmed,

Thank you for your feedback! We are really glad to hear it was helpful for you :)


Sidi-LEKHAIFA Avatar
Sidi-LEKHAIFA Avatar Sidi-LEKHAIFA | posted 2 months ago

I've just finished this little course which I find very interesting, thank you Ryan for these detailed explanations.


Hey @Sidi-LEKHAIFA ,

Thank you for your feedback! Such messages make our day and push us to release more interesting content, stay tuned ;)


1 Reply
Emus Avatar

I'm back! and with my team!


Woohoo! Welcome back - and thanks for bringing some friends :). Enjoy!

NewbieCoder Avatar
NewbieCoder Avatar NewbieCoder | posted 5 months ago

Hello there!

I was wondering if you would make a tutorial using Symfony 6 and Authenticating against an LDAP server, that´s something that my project needs, I have followed the official documentation but I feel lost and I dont know how to test it, thanks in advance!


Hey @NewbieCoder ,

Thank you for your interest in SymfonyCasts tutorials! Unfortunately, we don't have a course about LDAP yet, and we're not planning to create on in the nearest future, but I added your idea to our ideas pool. For now, I'd recommend you to read the official Symfony docs, they cover it. Also, I'd recommend you to check the comments on SymfonyCasts leveraging our search feature: https://symfonycasts.com/search?q=LDAP - you can find some interesting info for yourself there too I think.


Default user avatar

Existe-t-il la mĂȘme chose en Français ?



Nous sommes désolés, mais il n'existe pas encore de version française. Et je ne peux fournir aucune information sur son statut.



Hi there,

We are sorry, but no French version yet. And I can't provide any information about its status.


Ruslan Avatar

Hi, When do you plan to start? :)

Cat in space

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