// composer.json
{
"require": {
"php": ">=8.2",
"ext-ctype": "*",
"ext-iconv": "*",
"knplabs/knp-time-bundle": "^2.2", // v2.4.0
"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/http-client": "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
}
}
6 Comments
Installing directly from START dir requires .env file to be present. Update README.md so that people know how to create it and put it in working dir first.
Hey @Coolmaciek ,
We do provide the .env file in the downloaded zip archive in both start/ and finish/ directories - I just downloaded the fresh version of the course project code and see it there.
The reason why you may not see it in your app - by default, OS hides those internal files that start with a dot. That's why if you're using Mac Finder - you will not see it there in the start/ dir. But if you do
ls -lacommand in your terminal - you will see it. If you copy/pasted files from the start directory in Finder - most probably you would not see those .env files and so they won't be copied. If you want to move course project somewhere in your system - I would suggest you to move the whole start/ directory instead and then rename it to what you want. Otherwise, you will miss internal files when copy them from the start/ dir.I hope that helps!
Cheers!
100% true! Still, a valuable thing for others to know.
thx for a quick reply
Hey Coolmaciek,
Yes, definitely valuable! I use Finder rarely, but when I do - I often get that problem myself too. It's not clear enough why those files might be missing at first sight :)
Cheers!
Hello, I concluded the Cosmic coding tutorial yesterday and I replaced the folders from the 'start' version of this Fundamentals course in that starshop project. However, I obtained a lot of errors, which seem to indicate that I am trying to run a 2023 Symfony project on a 2026 PHP version 8.5, with PropertyInfo recipe mismatch, Turbo CSRF recipe mismatch and many PHP deprecation notices. What would you advise in this case? Many thanks and kind regards,
Chris
Hey @ChrisD ,
We recommend downloading the course project from the downloads every time you start a new course, and then go to start/ directory to and follow the instructions from the README.md.
I see this project allows PHP >=8.2, so you should be able to follow this tutorial project code on your PHP 8.5.
I suppose in this tutorial you wanted to keep some progress you've already done in the previous tutorial? That's not a perfect idea, because always do some changes in the course project code after the previous course, at least upgrade dependencies and most probably add more code that would help us to cover the new topics.
So, in short, the finish course project code of the 1st tutorial does not equal to the start course project code of the 2nd tutorial. That's why I would better recommend you to just download the course project code for this tutorial, unzip it, and start from the start/ dir. Otherwise, you may need to do more extra work import your changes from the past tutorials. But in case you really want to do it, it sounds like you need to sync dependencies, making sure Composer install works fine. And then you will need to sync recipes, there are
composer recipes:install&composer recipes:update.My advice, just go with the fresh start/ dir without importing previous tutorial for simplicity.
Cheers!
"Houston: no signs of life"
Start the conversation!