// composer.json
{
"require": {
"php": ">=8.2",
"ext-ctype": "*",
"ext-iconv": "*",
"babdev/pagerfanta-bundle": "^4.5", // v4.5.0
"doctrine/dbal": "^3", // 3.9.4
"doctrine/doctrine-bundle": "^2.13", // 2.13.2
"doctrine/doctrine-migrations-bundle": "^3.3", // 3.4.0
"doctrine/orm": "^3.3", // 3.3.1
"knplabs/knp-time-bundle": "^2.2", // v2.4.0
"pagerfanta/doctrine-orm-adapter": "^4.7", // v4.7.1
"php-cs-fixer/shim": "^3.46", // v3.65.0
"phpdocumentor/reflection-docblock": "^5.3", // 5.6.0
"phpstan/phpdoc-parser": "^1.25", // 1.33.0
"stof/doctrine-extensions-bundle": "^1.12", // v1.13.0
"symfony/asset": "7.1.*", // v7.1.6
"symfony/asset-mapper": "7.1.*", // v7.1.9
"symfony/console": "7.1.*", // v7.1.8
"symfony/dotenv": "7.1.*", // v7.1.9
"symfony/flex": "^2", // v2.4.7
"symfony/framework-bundle": "7.1.*", // v7.1.6
"symfony/http-client": "7.1.*", // v7.1.9
"symfony/monolog-bundle": "^3.0", // v3.10.0
"symfony/property-access": "7.1.*", // v7.1.6
"symfony/property-info": "7.1.*", // v7.1.9
"symfony/runtime": "7.1.*", // v7.1.7
"symfony/serializer": "7.1.*", // v7.1.9
"symfony/stimulus-bundle": "^2.13", // v2.22.0
"symfony/twig-bundle": "7.1.*", // v7.1.6
"symfony/ux-turbo": "^2.13", // v2.22.0
"symfony/yaml": "7.1.*", // v7.1.6
"symfonycasts/tailwind-bundle": "^0.7.1", // v0.7.1
"twig/extra-bundle": "^2.12|^3.0", // v3.16.0
"twig/twig": "^2.12|^3.0" // v3.16.0
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.6", // 3.7.1
"symfony/debug-bundle": "7.1.*", // v7.1.6
"symfony/maker-bundle": "^1.52", // v1.61.0
"symfony/stopwatch": "7.1.*", // v7.1.6
"symfony/web-profiler-bundle": "7.1.*", // v7.1.9
"zenstruck/foundry": "^2.2" // v2.3.1
}
}
6 Comments
It would be useful to know that you're not supposed to build on earlier lessons but should start from the files in the downloads.
Also, I had a bit of a nightmare with migrations, which got out of order, pretty much everything that could go wrong went wrong.
There's nothing wrong with the lessons but maybe a troubleshooting tutorial. I used MySQL as a dbs and this did cause a few problems.
Had to add the following to get the slugs working in services.yaml.
gedmo.listener.sluggable:
gedmo.listener.timestampable:
Anyway got there in the end. Happy to provide details if they'll help anyone.
Hey @alimack
We'll definitely be more informative about whether you can continue with the code from a previous tutorial or if you should download the new code.
Thank you for your feedback, we really appreciate it. Cheers!
💡
Just for the sake of completeness, it would be nice to show which files we can now delete, since everything is now working with the database. Also, how to handle all the migration files.
Thanks for that course, I really enjoyed it!
Keen on learning how to insert data into the database with a html-form-page...
Hey @skipper-henrik,
Yeah, we plan to release more Symfony7-related tutorials, including one about Symfony Forms - I think that may be next after the Doctrine relations course.
Cheers!
Hi again,
Just after
the code from previous paragraph is placed.
BR
Cezary
Thanks again @CezaryK, fixed!
"Houston: no signs of life"
Start the conversation!