Chapters
40 Chapters
|
4:19:16
|
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!
04.
Global vs CRUD-Specific Configuration
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!
This tutorial is built on Symfony 6 but works great on Symfony 7!
What PHP libraries does this tutorial use?
// composer.json
{
"require": {
"php": ">=8.2.0",
"ext-ctype": "*",
"ext-iconv": "*",
"composer/package-versions-deprecated": "^1.11", // 1.11.99.4
"doctrine/doctrine-bundle": "^2.1", // 2.5.5
"doctrine/doctrine-migrations-bundle": "^3.0", // 3.2.1
"doctrine/orm": "^2.7", // 2.10.4
"easycorp/easyadmin-bundle": "^4.0", // v4.0.2
"handcraftedinthealps/goodby-csv": "^1.4", // 1.4.0
"knplabs/knp-markdown-bundle": "dev-symfony6", // dev-symfony6
"knplabs/knp-time-bundle": "^1.11", // 1.17.0
"sensio/framework-extra-bundle": "^6.0", // v6.2.5
"stof/doctrine-extensions-bundle": "^1.4", // v1.7.0
"symfony/asset": "6.0.*", // v6.0.1
"symfony/console": "6.0.*", // v6.0.2
"symfony/dotenv": "6.0.*", // v6.0.2
"symfony/flex": "^2.0.0", // v2.4.5
"symfony/framework-bundle": "6.0.*", // v6.0.2
"symfony/mime": "6.0.*", // v6.0.2
"symfony/monolog-bundle": "^3.0", // v3.7.1
"symfony/runtime": "6.0.*", // v6.0.0
"symfony/security-bundle": "6.0.*", // v6.0.2
"symfony/stopwatch": "6.0.*", // v6.0.0
"symfony/twig-bundle": "6.0.*", // v6.0.1
"symfony/ux-chartjs": "^2.0", // v2.0.1
"symfony/webpack-encore-bundle": "^1.7", // v1.13.2
"symfony/yaml": "6.0.*", // v6.0.2
"twig/extra-bundle": "^2.12|^3.0", // v3.3.7
"twig/twig": "^2.12|^3.0" // v3.3.7
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.3", // 3.4.1
"symfony/debug-bundle": "6.0.*", // v6.0.2
"symfony/maker-bundle": "^1.15", // v1.36.4
"symfony/var-dumper": "6.0.*", // v6.0.2
"symfony/web-profiler-bundle": "6.0.*", // v6.0.2
"zenstruck/foundry": "^1.1" // v1.16.0
}
}
8 Comments
This tutorial is not good, how to setup links for menu items, how to setupd crud controllers ?
Hey Dejan94,
We're sorry to hear you could not find the information you were looking for. Actually, we covered the topics you mentioned in this course. Did you start watching this course from the beginning? Did you watch the course till the end? In every new chapter, we add cover more and more topics. Because the bundle is so rich in features it's impossible to cover all possible features related to the CRUD controllers in a single video, that's why we split them into sub-topics and covered them in many videos. Please, watch this tutorial till the end to see the full picture of the bundle and its features.
Cheers!
Ok, its going better, I found what I look for. Thank you.
Hey Dejan94,
Awesome, glad to hear it! But in case we really missing something in this course - feel free to share :)
Cheers!
Hi,
I had to put this line : "->add(Crud::PAGE_INDEX, Action::DETAIL)"
into the AbstractDashboardController because if I put it like you say (@4:18), I get this error from my IDE:
"Return type declaration must be compatible with AbstractDashboardController->configureActions() : \EasyCorp\Bundle\EasyAdminBundle\Config\Actions".
Why this ?
Cordialement, Richard.
Hey Richard,
Is it possible that you forgot to add the return type (
Actions) to the method?I found the issue I made thanks to GIT : I wrote previously instead of page_index :
That' why I had the issue and sorry for that, it's just a matter of age, unfortunatly.
Merci et bonne journée.
No problem Richard, it happens to all of us :)
Cheers!
"Houston: no signs of life"
Start the conversation!