Chapters
20 Chapters
|
1:53:05
|
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!
This tutorial works perfectly with both Symfony 7 & 8!
What PHP libraries does this tutorial use?
// composer.json
{
"require": {
"php": ">=8.2",
"ext-ctype": "*",
"ext-iconv": "*",
"php-cs-fixer/shim": "^3.46", // v3.46.0
"phpdocumentor/reflection-docblock": "^5.3", // 5.3.0
"phpstan/phpdoc-parser": "^1.25", // 1.25.0
"symfony/asset": "7.0.*", // v7.0.3
"symfony/asset-mapper": "7.0.*", // v7.0.2
"symfony/console": "7.0.*", // v7.0.2
"symfony/dotenv": "7.0.*", // v7.0.2
"symfony/flex": "^2", // v2.4.3
"symfony/framework-bundle": "7.0.*", // v7.0.2
"symfony/monolog-bundle": "^3.0", // v3.10.0
"symfony/property-access": "7.0.*", // v7.0.0
"symfony/property-info": "7.0.*", // v7.0.0
"symfony/runtime": "7.0.*", // v7.0.0
"symfony/serializer": "7.0.*", // v7.0.2
"symfony/stimulus-bundle": "^2.13", // v2.13.3
"symfony/twig-bundle": "7.0.*", // v7.0.0
"symfony/ux-turbo": "^2.13", // v2.13.2
"symfony/yaml": "7.0.*", // v7.0.0
"symfonycasts/tailwind-bundle": "^0.7.1", // v0.7.1
"twig/extra-bundle": "^2.12|^3.0", // v3.8.0
"twig/twig": "^2.12|^3.0" // v3.8.0
},
"require-dev": {
"symfony/debug-bundle": "7.0.*", // v7.0.0
"symfony/maker-bundle": "^1.52", // v1.53.0
"symfony/stopwatch": "7.0.*", // v7.0.0
"symfony/web-profiler-bundle": "7.0.*" // v7.0.2
}
}
21 Comments
Como apunte, añadir que es necesario al menos php 8.2 para Symfony 7, con versiones inferiores obtienes Symfony 6.4
Hey @ramontalban
Yes, you're right, Symfony CLI will choose what version to install based on your PHP version.
In the "Versions" tab below the video you can see all the libraries and requirements for this tutorial
Cheers!
Thank you and thanks to the SymfonyCasts Team!! I was waiting for it so much!! Do you have a date for the next lesson?
Hey @Leonard_Bira
I'm happy to hear you like our tutorials :)
We release one new chapter every week-day
Cheers!
Hello from Sietzing @ the countryside!
Thanks for the Course Script ! I downloaded it before leaving the web-access of Berlin, Germany
No I finally code along in the calmness. Script is very helpfull. Perhaps I should use it also instead of watching a video the third time...
Happy Coding,
henrik
Hello, just a question. Will there be another version of the "Symfony: The Fast Track" Book for Symfony 7 ?
Hey @skipper-henrik!
It looks like right now, Fabien would love to update it, but lacks the time. So we'll see... but don't hold your breath ;)
Cheers!
Hello everyone.
Symfony check:reqrecommends me to install or enable a PHP accelerator. But after editing php.ini to enable opcache with these values:extension_dir = "ext"
zend_extension=php_opcache.dll
opcache.enable=On
opcache.enable_cli=On
I'm getting
Error Preloading is not enable on Windows. Any Windows user has experienced something similar?Hey Lemin,
Yes, you can't use preloading on windows, that's a Windows OS limitation. But if you're just using this for dev/test - that's totally OK, you can just ignore it. The most important to use a better Linux distribution for production, and everything will be great :)
Cheers!
Somehow, the new command didn't create
public/index.phpHey Daniyal,
What new command are you talking about? What exactly did you execute? The
symfony new starshopcommand? I just tried it myself and it created thepublic/index.phpfile for me, maybe the command failed during the execution for you? Please, look closer to the command's output, it may contain some hints why.Cheers!
Hello,
Fist of all, Thank you and thanks to the SC Team ! Your tutorials are insanely good and I learn a lot from you !
I'm sorry to bother but I need your help :
I'm upgrading to Symfony 7.2 and the CSRF Protection break my form when I submit them in a turbo-frame.
When I submit from the full page, everything works well but when I load this turbo-frame in another page or in a modal, I systematically have a 422 http response due to the CSRF Token.
If you know a good way to patch this I'd love to know !
Thank you a lot ;)
Hey @Thomas-P
Just mentioned it somewhere in comments and will repeat here, for now if you have issues on any work project it will be better to deactivate stateless CSRF. Ideally it should be done inside
csrf.yamlIIRC you should disableheader_checkand commentstateless_token_idsCheers!
This doesn't work. the symfony new command for version 7 is currently broken, i have raised issue on github if you use --version=lts you get a working project.
Hey @red_smeg ,
Thanks for reporting it! I bet things will be fixed soon if there's an issue. Btw, we do recommend our users to download the course project code and start from the start/ directory instead of creating a new Symfony project. You can go with a completely new project, that's up to you, but keep in mind of some possible mismatches with the code you see in the video :)
Cheers!
Best tutorials ever, honestly I didn't see anything barely similar to such great quality of content and video/audio. Amazing job SymfonyCasts!
Btw, you're using iTerm2 for terminal? How did you managed to make command lines separation (gray --- symbols after each command execution)
Hey Kirill,
Thank you for your feedback! We're really happy to hear you like SymfonyCasts content :)
About the terminal - yes, that is iTerm2, but with some theme installed, and I believe that theme do that command separation out of the box, so no additional config. Unfortunately, I don't know what exactly theme Ryan uses. Probably googling themes for iTerm2 with some preview images will help.
Cheers!
Jesus Christ, after all those years, I finally saw your face :)
Me too! :D
Nice to see you in this video. I had almost forgotten what you look like. This might not be the right place for requests, but could you make a short series titled "How to Contribute to Symfony"? I really want to contribute, but I don't know how to start.
Thank you for all of your fantastic tutorials!
Ha! Honestly, it's weird for ME to see me when I'm editing these videos 🤣.
We have one... but it's pretty old at this point. It needs a facelift :) https://symfonycasts.com/screencast/contributing - a lot is still relevant, but I'm going to add it to our tutorial idea list.
A lot of how to contribute depends on what your interests are. If you're into the frontend world, for example, using Symfony UX & watching + reviewing over at https://github.com/symfony/ux is quite accessible, as this is still newer tech. The more you follow issues and PRs and use the tech, the more it will become, little-by-little, more obvious where you might fit in. And I'm always happy to answer questions (e.g on Symfony Slack).
Cheers!
"Houston: no signs of life"
Start the conversation!