Chapters
36 Chapters
|
2:42:17
|
Login to bookmark this video
-
Course Code
Subscribe to download the code!
Subscribe to download the code!
-
This Video
Subscribe to download the video!
Subscribe to download the video!
-
Subtitles
Subscribe to download the subtitles!
Subscribe to download the subtitles!
-
Course Script
Subscribe to download the script!
Subscribe 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!
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
What PHP libraries does this tutorial use?
// composer.json
{
"require": {
"php": ">=8.2",
"ext-ctype": "*",
"ext-iconv": "*",
"doctrine/dbal": "^3.10.0", // 3.10.0
"doctrine/doctrine-bundle": "^2.15", // 2.15.0
"doctrine/doctrine-migrations-bundle": "^3.4.2", // 3.4.2
"doctrine/orm": "^3.5.0", // 3.5.0
"league/commonmark": "^2.7.1", // 2.7.1
"symfony/asset": "7.3.*", // v7.3.0
"symfony/asset-mapper": "7.3.*", // v7.3.0
"symfony/console": "7.3.*", // v7.3.1
"symfony/crowdin-translation-provider": "7.3.*", // v7.3.0
"symfony/dotenv": "7.3.*", // v7.3.0
"symfony/flex": "^2.8.1", // v2.8.1
"symfony/framework-bundle": "7.3.*", // v7.3.1
"symfony/runtime": "7.3.*", // v7.3.1
"symfony/stimulus-bundle": "^2.28", // v2.28.0
"symfony/translation": "7.3.*", // v7.3.1
"symfony/twig-bundle": "7.3.*", // v7.3.1
"symfony/yaml": "7.3.*", // v7.3.1
"symfonycasts/object-translation-bundle": "@dev", // dev-_tuts/bundle/3-install-our-bundle
"symfonycasts/tailwind-bundle": "^0.10.1", // v0.10.1
"twig/extra-bundle": "^2.12|^3.21", // v3.21.0
"twig/markdown-extra": "^3.21", // v3.21.0
"twig/string-extra": "^3.21", // v3.21.0
"twig/twig": "^2.12|^3.21.1" // v3.21.1
},
"require-dev": {
"phpunit/phpunit": "^9.6.23", // 9.6.23
"symfony/browser-kit": "7.3.*", // v7.3.0
"symfony/css-selector": "7.3.*", // v7.3.0
"symfony/debug-bundle": "7.3.*", // v7.3.0
"symfony/maker-bundle": "^1.64", // v1.64.0
"symfony/monolog-bundle": "^3.10", // v3.10.0
"symfony/phpunit-bridge": "^7.3.1", // v7.3.1
"symfony/stopwatch": "7.3.*", // v7.3.0
"symfony/web-profiler-bundle": "7.3.*", // v7.3.1
"zenstruck/browser": "^1.9.1", // v1.9.1
"zenstruck/foundry": "^2.6.1" // v2.6.1
}
}
3 Comments
Hi,
I was wondering if you had used the Twig Extension Attributes, what configurations would you have included in
object-translation-bundle/config/services.php?Hey @seb-jean!
Yes, I love those new attributes! But.. they should really only be used for your end-apps. In bundle's, like with almost all the other attributes, you should wire these up manually for maximum flexibility.
Some good rules to follow in bundles:
--Kevin
Thank you, that's very clear!
"Houston: no signs of life"
Start the conversation!