> Symfony 6 >

Course Overview

Login to bookmark this course

Fundamentos de Symfony 6: Servicios, Configuración y Entornos

Dive deep into Symfony 6's mechanics - learn about services, config, environment variables and more. Bonus: Master the MakerBundle too!

  • 4640 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.4.5
        "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.4.3", // v6.4.3
        "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
    }
}

¿Listo para liberar tu verdadero potencial en Symfony 6... para poder asumir cualquier tarea, porque entiendes cómo funcionan las cosas internamente??? Este es el tutorial para ti. Atacamos lo que está en el núcleo de Symfony: servicios, configuración, entornos y variables de entorno. Estas son las herramientas que necesitarás para afrontar cualquier reto con Symfony:

  • ¡Hola bundles! Los bundles te dan servicios
  • Instalar nuevos bundles
  • Encontrar y utilizar servicios (incluyendo debug:container)
  • Configurar bundles (es decir, configurar servicios)
  • Crear tus propios servicios
  • Autoconexión y vinculación de argumentos personalizados
  • Entornos Symfony
  • El mágico mecanismo de carga de la configuración
  • Parámetros en los servicios
  • Variables de entorno y .env
  • Gestión de la bóveda de secretos
  • Autoconfiguración
  • Bono: ¡MakerBundle!

Al final, ¡es cierto! Entenderás los fundamentos de cómo funciona cualquier parte de Symfony. ¿Necesitas utilizar una nueva función? ¡Estarás preparado!

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

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 1 year 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 1 year 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 10 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 1 year 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 |
Emus avatar Emus 1 year ago

I'm back! and with my team!

| Reply |

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

| Reply |
NewbieCoder avatar NewbieCoder 1 year 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 2 years 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 2 years 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!