Chapters
21 Chapters
|
2:23:48
|
Login to bookmark this video
-
Course Code
Login or register to download the code!
Login or register to download the code!
-
This Video
Login or register to download the video!
Login or register to download the video!
-
Subtitles
Login or register to download the subtitles!
Login or register to download the subtitles!
-
Course Script
Login or register to download the script!
Login or register to download the script!
Scroll down to the script below, click on any sentence (including terminal blocks) to jump to that spot in the video!
Subscribe to jump to this part in the video!
What PHP libraries does this tutorial use?
// composer.json
{
"require": {
"php": ">=8.1",
"ext-ctype": "*",
"ext-iconv": "*",
"symfony/asset": "6.0.*", // v6.0.3
"symfony/console": "6.0.*", // v6.0.3
"symfony/dotenv": "6.0.*", // v6.0.3
"symfony/flex": "^2", // v2.4.5
"symfony/framework-bundle": "6.0.*", // v6.0.4
"symfony/monolog-bundle": "^3.0", // v3.7.1
"symfony/runtime": "6.4.3", // v6.4.3
"symfony/twig-bundle": "6.0.*", // v6.0.3
"symfony/ux-turbo": "^2.0", // v2.0.1
"symfony/webpack-encore-bundle": "^1.13", // v1.13.2
"symfony/yaml": "6.0.*", // v6.0.3
"twig/extra-bundle": "^2.12|^3.0", // v3.3.8
"twig/twig": "^2.12|^3.0" // v3.3.8
},
"require-dev": {
"symfony/debug-bundle": "6.0.*", // v6.0.3
"symfony/stopwatch": "6.0.*", // v6.0.3
"symfony/web-profiler-bundle": "6.0.*" // v6.0.3
}
}
25 Comments
Your tutorials are by far the best I've seen for any programming topic.
Hey Jakov,
Thank you for your feedback! This really means a lot to us and pushes us to create more content ❤️
Cheers!
database connection.
hey is there a resource to connect the whole project into a database or even a video.
I've been going along this 'tutorial' on the documentation, which has helped me a lot for anyone else wondering
https://symfony.com/doc/current/doctrine.html#configuring-the-database
Would be interesting yea
Hey there,
What do you mean by "connect the whole project into a database"? In many of our tutorials, we use a database to store information. If you're using Doctrine, that's a straightforward thing to do
Hey,
At the time of the comment I didn't spend much time looking for tutorials which was the reason I just agreed. I'm currently not in the financial position to buy courses but I found the documentation for doctrine which is also very helpful and enough for my purpose :)
It is good to know that Doctrine docs are helpful to you. By the way, we give for free the chapter script (including code blocks) below the video, so you can follow our tutorials at least in that way
Cheers!
Hey! I accidentally found out about symfonycasts.com when doing other, paid Symfony 6 course. And then I couldn't stop listening Ryan instead 😅 Those videos are golden! Very useful, interesting, prepared with attention to details. I'll jump to other courses for sure!
Once you start listening to Ryan you can't stop!
I got your hive five!
Hello, Turbo might be usefull but just one moment has not lighted in lesson. If you run some thing on page - JS loop counter, audio, video or WS/WSS connection - it would not be cancel whenever you go to another turboued page. As I understand the mechanism of stopping all the stuff might need to make manualy. Insted unexpectable side effects wil be usual.
Hey @PimiTree
Yes, that sounds about right. If you're using Stimulus, you can implement your controller's
disconnect()function and cancel/disable all the things you need. If you're not using Stimulus you'll need to find the right Turbo event to do that https://turbo.hotwired.dev/reference/eventsCheers!
I ran into a problem with turbo, where it made Ajax Calls for stuff in the profiler-bar as well. Every time i hover over an icon in the profiler bar, the ajax call-counter increments and another entry is made. A quick research didn't bring any solutions. Any idea how i can exclude specific URLs from turbo or where i possibly need to update a config file or something?
Hello @Cyrano
Sorry for the late reply, interesting according to this link https://github.com/symfony/ux/issues/1520 it should be already fixed, however it will be good to know what versions of Symfony, Turbo are installed at your project
Cheers!
Thanks again!
Thank you for this great training (which was also free). As a developer with more than 20 years of experience, I only ever find training courses that are either far too detailed on minor details or that don't address practical topics (debugging, logging) at all. Only now do I understand Symfony 6 so that I know how best to start a new project.
Hey Juergen,
Thanks for your kind words. I'm so glad to hear that you find our courses useful.
Cheers!
I get that turbo is used to make the page more SPA like, but how is that different from a full page refresh? There's no pre-loading, sure it keeps the console state etc, but it still takes time to load the page from the server and paint it right? To me that doesn't really seem like an advantage. So the advantage is that is just downloads everything in the background, paints it and then only switches over to the new page once it's all loaded?
What am I missing?
Hey team,
Maybe add an r to "you"? "Supercharge your App"?
Hey Vafilor!
Ah, yes, good catch! Thank you for reporting it, I fixed in https://github.com/SymfonyCasts/symfony6/commit/d0cd5bc0175c2ff4fc644c3e66520bd80cbd2e67
Cheers!
please add a video to learn how to add components to symfony point releases
Hey Marco,
Your idea sounds interesting, but I don't fully get it. Could you elaborate a bit more, please?
i have a project with symfony 3.8 and i want to add components to it
In case a bundle is what you need, you can create your own bundles without much hassle. Here's a tutorial about it https://symfonycasts.com/screencast/symfony-bundle
But if what you really need is a component, well, a component is just like any other PHP library that may use (or not) other Symfony components and are meant to do a specific job. So, you can just create another PHP app, and publish it somewhere so you can require it via Composer
Cheers!
"Houston: no signs of life"
Start the conversation!