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
}
}
6 Comments
all these bundles recipes etc. stuff seemed so boring before I watched these tutorials, thanks for this !
Hello, so the difference between the package and the recipe is that the package is all the stuff we need and the recipes is needed by the system to know HOW to implement correctly this stuff right ?
Hey Otacon,
A recipe comes from a Symfony bundle or component, and it's just a set of instructions that are run after you install it. Usually, a recipe adds a default config file, or a bundle registers itself in the
config/bundles.phpfileCheers!
When i execute composer recipes cmd thas this:
Command "recipes" is not defined.
before with flex also have trouble
¿what does it do this?
Hey Federico,
Could you double-check that Symfony Flex is installed and up to date in your project?
Oh, you may also have to upgrade Composer to version 2
Cheers!
Hi! thanks for your answer. I'd resolve it. The problem was the version of PHP it was installed. Symfony requires 8.1 and i had 8.0. Once i upgraded php and run composer update on cmd everything started to work smoothly.
Thanks
"Houston: no signs of life"
Start the conversation!