Symfony 5 Tutorial: Easy Admin 3 - Getting Started

  Рет қаралды 48,933

OverSeas Media

OverSeas Media

Күн бұрын

Пікірлер: 126
@valerianlepeule
@valerianlepeule 4 жыл бұрын
Hello, thanks for the video ! At 27:55 Why don't you use the "hideOnForm" method on the "thumbnail" field and "onlyOnForms" on the "thumbnailFile" field ? Is there a best practice ?
@OverSeasMedia
@OverSeasMedia 4 жыл бұрын
Man i didn't know about the onlyOnForms i swear i was looking for this in the PHPStorm autocomplete and assumed it does not exist, that's actually prettier and better than writing an if statement. Thanks for this mate
@ummehanyarozshandaanny2846
@ummehanyarozshandaanny2846 4 жыл бұрын
@@OverSeasMedia Hello brother.... Should I follow for security.yaml your previous video of EasyAdmin ?? Actually I am new on it..
@bekanur98
@bekanur98 3 жыл бұрын
you are the best youtube teacher for symfony. Best regards from Kyrgyzstan!
@rhobertajenkins9485
@rhobertajenkins9485 3 жыл бұрын
Hello, this video covered basically all the bugs that I add using EasyAdmin the first time (I’m super new with Symfony), I was seriously considering dropping it but thank to you I will not and it save me a lot of time so thank you, thank you, thank you !
@OverSeasMedia
@OverSeasMedia 3 жыл бұрын
Glad this helped. Cheers
4 жыл бұрын
You made my day. Thank you. Your video has a lot of info about some many useful things.
@mpunkth
@mpunkth 4 жыл бұрын
This Video is awesome! It helped me a lot when taking the "The Fast Track" Symfony 5 Book by Fabien. The Book has a problem when installing EasyAdmin V2 on symfony 5.1.* by command: symfony composer req "admin:^2.0". And when installing EasyAdmin V3 the Books content does not help at all. But this Video does! Thanks so much :)
@LaravelJutsu
@LaravelJutsu 4 жыл бұрын
Great work ! Thank you buddy ! Best regards from France 🇲🇦🇫🇷
@rajkb2755
@rajkb2755 4 жыл бұрын
Also for conditional fields, we can use yield generators
@migaats7157
@migaats7157 3 жыл бұрын
Hello, thanks for the video! I can't fix this "The "thumbnailFile" image field must define the directory where the images are uploaded using the setUploadDir() method." error. Could you help me, please? It was occurred when add ImageField on PostCrudController.
@galeclercq10
@galeclercq10 3 жыл бұрын
Same here
@yavuzcanozak7828
@yavuzcanozak7828 3 жыл бұрын
Hey bro! I had the same issue and resolved it by replacing "ImageField" to "TextareaField" on the ProductCrudController file. Here an example $imageFile = TextareaField::new('imageFile')->setFormType(VichImageType::class); I worked for me, i hope does for you as well !
@pezoupe8445
@pezoupe8445 3 жыл бұрын
5:30 How did you create a user? and where in your code ?
@navarrobasse3019
@navarrobasse3019 4 жыл бұрын
You saved me man !!!!!!! thanks a lot. however, could you make another tutorial about easyadmin design(menu, navbar...) thanks
@OverSeasMedia
@OverSeasMedia 4 жыл бұрын
You're very welcome, about the customization I made a series of videos on how to do it in easy admin 2 , it does not need so much changes you can apply the same thing to easy admin 3
@luvima671
@luvima671 4 жыл бұрын
Hello ! Good video ! It would be interesting to know what to do with the images in the event that we have an entity specially designed for that. A Thumbnail entity, associated with the Post entity. I wonder what should have been the configuration to achieve the same result
@hannesorf8204
@hannesorf8204 4 жыл бұрын
I was reading Fabien's Symfony 5 book and got stuck because I used v3 and not v2 like in the book. Well, I got stuck on the __toString method which worked to now go on with the book :D
@redcanary5651
@redcanary5651 7 ай бұрын
please show as how u configured the make:auth please ,i really need to figured it out for my internship project and with easyadmin i couldnt make it work
@quenting.6460
@quenting.6460 4 жыл бұрын
Such a great video overSeas !! Thank you so much for sharing it. May I ask you how did you managed to restrict access to the main page at the beginning. I could see that an authentification was necessary at the begining. Would it be at the route Level ? i don't manage to restric to visitor and member at the moment, url access is available for everybody in the URL section.
@ynschannel_
@ynschannel_ 3 жыл бұрын
Thank you for your videos. Do you know how to activate tabs instead of panels in Easy Admin 3?
@ОлексійПучков-к7б
@ОлексійПучков-к7б 4 жыл бұрын
Great tutorial! Thank you! Can you please tell what terminal do you use and how you configured autocomplete ?
@jaimeosuna65
@jaimeosuna65 4 жыл бұрын
Excellent tutorial! thanks..you are is cool great
@cristina1371997
@cristina1371997 3 жыл бұрын
Hi! thanks for the video. I had a question. Is it possible to translate the default text of butons like "edit" or "previous"? Thanks!!
@kenny8803
@kenny8803 4 жыл бұрын
Good afternoon. Great channel. I have a question. Do I understand correctly that EasyAdmin is made for CRUD Entity? Well, the whole admin part cannot be for Entity. For example, I want to display statistics on views with a filter. Dashboard isn't good for this. Entity does not exist for this (it does exist, but for statistics, choosing a collection is strange). And for statistics, there is no CRUD if you think about it. I wanted to make my own page for this. Form and other things are not a problem. But how, in this case, leave the entire environment of EasyAdmin, Menu, UserMenu ...? If there is an answer to this question, then share a link to the video or better to the text. The documentation is empty. Thanks.
@andromadusnaruto1544
@andromadusnaruto1544 3 жыл бұрын
Hi @kenny. You can create your own controllers and actions without extending the AbstractDashboardController. For the views, you can extend the Easy Admin Template layout for consistency across views. You can link to your pages using the linkToUrl helper in your DashboardController. Good luck!
@anstapol
@anstapol 3 жыл бұрын
Did you used vich bundle namers? Because it's alright on the form views but can't figure out how to load the correct url on index and detail
@salmakhnati6236
@salmakhnati6236 3 жыл бұрын
i do like u did but i have this error message please help me Attempted to load class "Ulid" from namespace "Symfony\Component\Uid". Did you forget a "use" statement for "Symfony\Component\Validator\Constraints\Ulid"?
@luisvallejos9763
@luisvallejos9763 3 жыл бұрын
I have a question friend, I started recently with easy admin and at the moment it felt quite restrictive. There is a way to: - Validate the fields, I have an association one that calls a list of random elements from the database, but I would like to condition it so that certain names are not shown. - An alert that reacts based on a condition - And give forms landscape view.
@hazhirahmadzadeh2055
@hazhirahmadzadeh2055 4 жыл бұрын
nice tutorial , could you create a video on uploading multiple files in easy admin 3?
@OverSeasMedia
@OverSeasMedia 4 жыл бұрын
I will see what I can do about this :)
@OverSeasMedia
@OverSeasMedia 4 жыл бұрын
Hello there mate, i just made the video you asked about, you can now find it in the channel :))
@hazhirahmadzadeh2055
@hazhirahmadzadeh2055 4 жыл бұрын
@@OverSeasMedia thanks man , appreciated very very much 🙏🍻
@dragongun200
@dragongun200 4 жыл бұрын
Hey, i got some Problems, i created a oneToMany property, but if i click on save on the dashbord, they not save the data
@BitelecChGmbH
@BitelecChGmbH 4 жыл бұрын
Great tutorial! Do you know how to show images stored by the vich bundle if you use namers?
@parijke
@parijke 4 жыл бұрын
Finally had to use the upload. In my case a PDF file. It goes well, but the problem is that the files are in public (so anyone can see the file if they somehow know the name). What I would like is a location outside /public and let easyadmin / vich serve the files to authenticated users only. Do you know how to do this?
@ummehanyarozshandaanny2846
@ummehanyarozshandaanny2846 4 жыл бұрын
Thanks Thanks Thanks a lot bro. It will help me a lot.
@olive140
@olive140 4 жыл бұрын
J'ai installé easyadmin 3 ce matin et la vidéo sort aussitôt :)
@yanndeo9501
@yanndeo9501 4 жыл бұрын
Bonjour Olivier .Saurez vous svp comment faire fonctionner vichpload ?. avec cette version de easyadmin
@olive140
@olive140 4 жыл бұрын
@@yanndeo9501 ImageField::new('image')->setFormType(VichImageType::class)
@LucasMancini
@LucasMancini 4 жыл бұрын
Hello Man... I have all day traying implment this but one error givme a head pain infinite: Error: Expected argument of type "Symfony\Component\HttpFoundation\File\File or null", "string" given at property path "thumbnailFile". Any solution it's welcomed!!
@ЕвгенийСамусько-д9ш
@ЕвгенийСамусько-д9ш 3 жыл бұрын
Hello, thanks for the video ! TextEditorField creates content with "div" wrapper, like "addsadasd". How we can fix it?
@ginageorge392
@ginageorge392 4 жыл бұрын
hello, can you make a video (symfony 4 or 5) menu submenu database
@jeanchristophegomis4650
@jeanchristophegomis4650 4 жыл бұрын
Hello sir, I want to know how to setup the ImageFieldType.?
@Furkan-mw7kw
@Furkan-mw7kw 4 жыл бұрын
Hello Controller return array : error what controller retrun array result ?
@DhiaMagicien
@DhiaMagicien 4 жыл бұрын
Bro Can u please make a tutorial on Multi-Step Forms in Symfony 4?
@atalthapamagar1098
@atalthapamagar1098 Жыл бұрын
can i get template for this dashboard controller
@ICSVortex-DCS
@ICSVortex-DCS 4 жыл бұрын
Is it possible to customize EasyAdmin template without copying files (in order to override default templates) ?? I won't override templates, because i would like to get templates updates from the team. Otherwise, I will need to keep the same code or manually update overriden templates.
@OverSeasMedia
@OverSeasMedia 4 жыл бұрын
I guess you could try to overwrite sections of the templates, just extend the one provided by the default easy admin bundle and overwrite the sections you want, just like we do with form customization if you ever had experience with that :))
@ICSVortex-DCS
@ICSVortex-DCS 4 жыл бұрын
@@OverSeasMedia thx bro
@nagorik24
@nagorik24 3 жыл бұрын
which theme do you use?
@stalevar1990
@stalevar1990 4 жыл бұрын
Thank you, dude! Best regards from Ukraine 🇺🇦.
@ICSVortex-DCS
@ICSVortex-DCS 4 жыл бұрын
Не думав, що хтось з україни дивиться цього товариша)))
@stalevar1990
@stalevar1990 4 жыл бұрын
@@ICSVortex-DCS вчу symfony, от і дивлюсь. Російською чи українською нічого немає.
@OverSeasMedia
@OverSeasMedia 4 жыл бұрын
Cheers my Ukraine dudes :))
@ddkinput
@ddkinput 4 жыл бұрын
error when php bin/console make:admin:crud In ChoiceQuestion.php line 36: Choice question must have at least 1 choice available.
@noelraidellasallebatista7490
@noelraidellasallebatista7490 4 жыл бұрын
I have seen your videos and I would be interested to know if you can make a video explaining how to do user authentication with EasyAdmin 3. I have already done the authentication with make: auth and make: user and the part to register user with make: registration: form . The problem is that when I generate the CRUD with EasyADmin it does not show me the roles and I would like to know how it is done. I would appreciate it if you could help me. I am Cuban and I understand more or less English, but I understand the code well, so if you can make it explicit, I would really appreciate it.
@OverSeasMedia
@OverSeasMedia 4 жыл бұрын
Hello there mate, to get the roles all you have to do is use $this->getUser()->getRoles() to get the roles for the authenticated user, that's inside the controller
@noelraidellasallebatista7490
@noelraidellasallebatista7490 4 жыл бұрын
​@@OverSeasMedia The problem is that when I generate the CRUD of the User entity with make: admin: CURD it does not show me the roles, also when the user is created or edited it does not let me put the role, it also does not encrypt the password.
@margiamin4552
@margiamin4552 4 жыл бұрын
Please make another video after thi on custome tags in easyadmin 3 symfony 5 because the one uploaded in symfony 4 is not really working in this version @OverSeas Media
@raphaelbillard9409
@raphaelbillard9409 4 жыл бұрын
Merci pour cette explication!
@nickfleming3719
@nickfleming3719 3 жыл бұрын
There was a reason it was called "EASY admin bundle". It looks like it was completely nuked.
@AnapaFly
@AnapaFly 4 жыл бұрын
Спасибо большое за видео. А особенно за AssociatedField. Ни как не мог понять как вывести relation поле.
@hichamel-argeouni5947
@hichamel-argeouni5947 4 жыл бұрын
Damn that looks easy
@maximsymfony
@maximsymfony 4 жыл бұрын
You have great mechanical gaming keyboard Logitech G-series :DD
@OverSeasMedia
@OverSeasMedia 4 жыл бұрын
Finally someone who appreciates mechanical keyboards haha! Cheers mate :))
@maximsymfony
@maximsymfony 4 жыл бұрын
@@OverSeasMedia Mechanical keyboard with Mac :) Omg :DDD Anyway THANK YOU, you help me to understand EasyAdmin. And dislike comess tooo (jouke - you got 2 likes)
@OverSeasMedia
@OverSeasMedia 4 жыл бұрын
@@maximsymfony Lol thank you mate, I appreciate it :))
@AhmedGhiloubi
@AhmedGhiloubi 4 жыл бұрын
Good Job Man!
@comrader9409
@comrader9409 2 жыл бұрын
Good video !
@ICSVortex-DCS
@ICSVortex-DCS 4 жыл бұрын
Video is great, but ... EasyAdmin3 doesn't have FileField ((((((( But hopefully, I fixed my issue with setTemplatePath method.
@ZinchenkoOleg
@ZinchenkoOleg 4 жыл бұрын
ImageField::new('file')->setFormType(VichFileType::class); This will create file uploader with preview of the file. This works well for form field.
@ICSVortex-DCS
@ICSVortex-DCS 4 жыл бұрын
@@ZinchenkoOleg yes, as I told - i solved my issue. Thx.
@azarmaghsoodi435
@azarmaghsoodi435 4 жыл бұрын
@@ICSVortex-DCS Hello Vortex, could you please tell me, how you resolve your problem I use VichFileType::Class but still I can not download a file in the index page
@ICSVortex-DCS
@ICSVortex-DCS 4 жыл бұрын
@@azarmaghsoodi435 Hi, You can set template path, its your custom index page template for specific cell. Example if ($pageName === Crud::PAGE_INDEX || $pageName === Crud::PAGE_DETAIL) { array_unshift($fields, UrlField::new('exe') ->setTemplatePath('_layout/file_template.html.twig')); } else { array_unshift($fields, ImageField::new('exeFile')); } - in this example, I use setTemplatePath - and inside template - I have just a link tag {{ field.formattedValue }} btw, i am uploading and downloading exe files.
@azarmaghsoodi435
@azarmaghsoodi435 4 жыл бұрын
@@ICSVortex-DCS thank you very much
@pomaeb5958
@pomaeb5958 4 жыл бұрын
Nice video!
@marcinmaj3609
@marcinmaj3609 4 жыл бұрын
Please make full auth with confirmation reset password and switch user
@houdasidahmed1626
@houdasidahmed1626 2 жыл бұрын
you live in morocco?
@ananasxpress_
@ananasxpress_ 4 жыл бұрын
I cant find an example how to use it with files, not images.
@taylan6670
@taylan6670 4 жыл бұрын
Apparently they haven't implemented this yet github.com/EasyCorp/EasyAdminBundle/pull/3511
@laetitiaelbaz2538
@laetitiaelbaz2538 4 жыл бұрын
Thanks for the video! I couldn't AssociationField...
@OverSeasMedia
@OverSeasMedia 4 жыл бұрын
Hmm this is interesting . What error are you getting ?
@oussamayousre7845
@oussamayousre7845 4 жыл бұрын
@@OverSeasMedia The "formations" field is not a Doctrine association, so it cannot be used as an association field.
@Igor-qd2cl
@Igor-qd2cl 4 жыл бұрын
Better option is use one of big CMS as headless, this solution solve just easest tasks, but if you will be need a really custom funcationality it just complicate you work.... And i think yii2 have a better integration in yii kick starter
@rajkb2755
@rajkb2755 4 жыл бұрын
Which big CMS? For example
@Igor-qd2cl
@Igor-qd2cl 4 жыл бұрын
@@rajkb2755 currently the biggest is WP
@compucenter33
@compucenter33 4 жыл бұрын
Exelent!!!!!!!
@martingladis6225
@martingladis6225 3 жыл бұрын
Shell name PLEASE?
@OverSeasMedia
@OverSeasMedia 3 жыл бұрын
It is called fish, the name of the theme is either batman or mars can't remember exactly
@maksymtsypliakov3437
@maksymtsypliakov3437 4 жыл бұрын
Thank you very much! The tutorial is cool in general. But too much using of "gonna": "gonna be", "gonna need", "gonna do", etc. It just annoying...
@OverSeasMedia
@OverSeasMedia 4 жыл бұрын
Alright, "I'm gonna" try and use it less lol
@TheAbdou27
@TheAbdou27 4 жыл бұрын
Why are you skipping commands? Total beginners like me don't know how to generate an authentification system since I thought that was included in the EasyAdmin bundle...
@OverSeasMedia
@OverSeasMedia 4 жыл бұрын
Hello Abdou, I already made multiple videos on authentication in symfony, the commands are really simple just run ""bin/console make:user" and then "bin/console make:auth". if you need any further help just let me know.
@TheAbdou27
@TheAbdou27 4 жыл бұрын
@@OverSeasMedia Alright, thanks. Can I ask what extensions you're using for the intellisense ?
@scheidegg
@scheidegg 4 жыл бұрын
my Console doesn''t know "make entity" command ;[ Probably it's MakerBundle
@OverSeasMedia
@OverSeasMedia 4 жыл бұрын
Yes you need the maker bundle
@webreboot
@webreboot 4 жыл бұрын
Thanks!
@ZenAzou
@ZenAzou 4 жыл бұрын
Great! That yaml was a pain to me!
@OverSeasMedia
@OverSeasMedia 4 жыл бұрын
Indeed, made everything slightly harder to do . PHP is easier to configure
@ZenAzou
@ZenAzou 4 жыл бұрын
@@OverSeasMedia Ah man I've been struggling to find a way to control data fetched from database depending on user role. Like how both an admin and a super_admin can see users but admin can't see super_admins. Voters are not working for some reason
@sowousmane6851
@sowousmane6851 4 жыл бұрын
thank a lot
@freecourse1842
@freecourse1842 4 жыл бұрын
l3ezz Bro laaaah ihafdek
@excitedbox5705
@excitedbox5705 3 жыл бұрын
way too rushed and doesn;t explain anything. Just "I am going to..." then cut and pastes something without explaining what.
@OverSeasMedia
@OverSeasMedia 3 жыл бұрын
ok fam
Symfony 5 Tutorial: Easy Admin 3 - Upload Multiple Files
12:14
OverSeas Media
Рет қаралды 20 М.
5 AMAZING terminal applications you didn't know you needed
8:40
Nick Skriabin
Рет қаралды 3,5 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
I built a REAL Desktop App with both Tauri and Electron
12:22
Bufferhead
Рет қаралды 98 М.
Creating a Blog with Symfony 6 - How to start
17:34
Symbolic Link
Рет қаралды 18 М.
🎵 SYMFONY 4/4 : 1H POUR COMPRENDRE L'AUTHENTIFICATION !
1:04:31
Lior CHAMLA - Web Develop Me
Рет қаралды 149 М.
Сборник Эксклюзивов 2024 - Уральские Пельмени
1:33:24
Уральские Пельмени
Рет қаралды 1,5 МЛН
S00E56 - Getting Started Easy Admin
2:01:59
Toham
Рет қаралды 6 М.
CREER UNE API AVEC SYMFONY 5 - EPISODE 1 - LE SERIALIZER
41:23
Lior CHAMLA - Web Develop Me
Рет қаралды 75 М.
Setting Up the Perfect Developer Environment on Linux for 2025
11:58
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН