> Symfony 6 >

Course Overview

Symfony 6 Fundamentals: Services, Config & Environments

  • 4177 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.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!

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

20 Comments

Sort By
Login or Register to join the conversation
MolloKhan avatar MolloKhan SFCASTS 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 |

I've got a question about the TaggedIterator attribute. It's more a design-flow-ish question, but hope someone can help me. I saw Ryan using the TaggedIterator attribute (in the Collection constructor) combined with AutoconfigureTag attribute on the interface. Actually I have a use-case where every Class that implements this Interface also has to be multilevel. So lets say I have a operator: "plus" (as in math operator). That would be named PlusOperator and will implement the OperatorInterface that has the AutoconfigureTag attribute, but... this PlusOperator also needs to contain easy extendable "levels". So that would be PlusOperatorLevel__1.php (that Class needs to be connected to PlusOperator) so it can be easily extended to 2, 3, etc... What would be the best way to design this flow (is the TaggedIterator the best way or is there a better one)? Thanks for help.

| Reply |

Hey @Julan

I believe tagged services with indexes are what you're looking for but perhaps I'm wrong
give it a check and let me know if it does not apply to your case https://symfony.com/doc/current/service_container/tags.html#tagged-services-with-index

Cheers!

| Reply |
Vasileios-V avatar Vasileios-V 5 months ago

Is this a free course , or have more content on a paid one? Let me know as i am interest :)

| Reply |

Hey Vasileios,

This is a paid course, you should see a "Buy Access" button on this page below the course image in case you don't have a paid subscription or if you haven't bought this course yet. We always make several chapters free in the beginning so that users can try it first before buying it.

I hope this info helps! If you still have questions - don't hesitate to ask in the comments or write an email: https://symfonycasts.com/contact

Cheers!

| Reply |
Vasileios-V avatar Vasileios-V Victor 5 months ago

Thank you Victor!
I would like to ask 1 last question. What is the content of the paid course ? Like in free we have doctrine fundamentals etc..

| Reply |

Hey Vasileios,

I'm not sure I understand your question. The content is the same, you can see the list of topics that are covered in this course. But with paid access, you get access to video, course downloads, certificate, etc. You may learn more about paid access on this pricing page: https://symfonycasts.com/pricing

I hope that answers your question :)

Cheers!

| Reply |
Waseem avatar Waseem Victor 3 months ago edited

Hey Victor,

Still not clear, what extra chapter will be provided after buy this course, As @MolloKhan saying initial chapters are free,rest are paid. So my question what are those topics.

Or you mean we will only get access to video, course downloads, certificate after buying it.

| Reply |

Hey Waseem,

Or you mean we will only get access to video, course downloads, certificate after buying it.

Yes! No hidden chapters at all on SymfonyCasts, they all are public and you can see them all no matter if you have a paid subscription or not, or if you're logged in or not.

initial chapters are free,rest are paid

This means that literally a few first chapters in each course are free, so you can try to watch them without even paying a subscription. Other videos will require you to have a paid subscription or course purchase to be able to watch the video.

I hope it's clearer for you now :)

Cheers!

| Reply |
Ahmed avatar Ahmed 8 months ago

Thanks guys for this amazing content 🙏

| Reply |

Hey Ahmed,

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

Cheers!

| Reply |

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

| Reply |

Hey @Sidi-LEKHAIFA ,

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

Cheers!

1 | Reply |

I'm back! and with my team!

| Reply |

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

| Reply |
NewbieCoder avatar NewbieCoder 11 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!

| Reply |

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.

Cheers!

| Reply |
Default user avatar Varyys 1 year ago

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

| Reply |

Bonjour,

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.

Salutations

------

Hi there,

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

Cheers

| Reply |
Ruslan avatar Ruslan 1 year ago

Hi, When do you plan to start? :)

| Reply |

Delete comment?

Share this comment

astronaut with balloons in space

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