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
}
}
9 Comments
Curly braces in JS do not create an array, they create an object. {slug: 'some value'} is an object. Always has been (for at least the last decade or more), and always will be.
I'm not being picky; I'm just saying we should tell developers the correct terminology.
Hey @Digital-Pig
Yes, technically you're right, curly braces in JS create an object, although it can be used as an associative array. I assume Ryan did that comparison to keep things simple. Anyway, thanks for clarifying things a bit :)
Cheers!
Error in Script!
Video correctly shows:
But script shows:
Hey Benanamen,
Thank you for reporting it, I've fixed the script, and sorry for my super late reply :)
Cheers!
Hello, it looks like JsonResponse is not (anymore?) a Response:
App\Controller\SongController::getSong(): Return value must be of type App\Controller\Reponse, Symfony\Component\HttpFoundation\JsonResponse returned
hi there, for some reason in phpstorm when I hold ctrl on the Route term I am not seing the Route.php file.
Hey Benoit L.
But what happens when you hold and click on it?
Cheers!
Hey Vladmir,
The message is Cannot find declaration to go to.
My guess is that you PHPStorm cache is broken, or vendors are not installed, or maybe some PHPStorm options with language level and composer deps are not configured, so it doesn't know where to look
"Houston: no signs of life"
Start the conversation!