Symfony 6 Fundamentals: Services, Config & Environments
Dive deep into Symfony 6's mechanics - learn about services, config, environment variables and more. Bonus: Master the MakerBundle too!
About this course
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
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.
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!
Is this a free course , or have more content on a paid one? Let me know as i am interest :)
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!
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..
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!
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.
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!
Hey Ahmed,
Thank you for your feedback! We are really glad to hear it was helpful for you :)
Cheers!
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 ;)
Cheers!
Woohoo! Welcome back - and thanks for bringing some friends :). Enjoy!
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.
Cheers!
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
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!