Relationship Manager (1-1 & 1-M) | Filament 3 Tutorial for Beginners EP7

  Рет қаралды 19,450

Yelo Code

Yelo Code

Күн бұрын

Welcome to our Filament php 3 course, in this course we will cover all the basis needed to build dynamic admin panels. Today we will cover how handle 1 to 1 and 1 to many relationships in filament and cover the relationship manager.
filamentphp.co...
Filament 3. documentation link :
filamentphp.co...
ravel.com/
Course Playlist ( next episode ):
• Filament 3 course for ...
My Livewire 3 Course :
• Laravel Livewire 3 Cou...
If you would like me to make more Filament 3 videos, please let me know by liking the video and commenting what you like to learn next.
What is Filament PHP:
A free and open source admin panel builder for laravel using the TALL stack that allows you to build beautiful admin panel pages in just a few minutes.

Пікірлер: 56
@darreneckersley2240
@darreneckersley2240 Ай бұрын
You just opened a new way of me doing things, so much easier now.
@einnlleinhatt_
@einnlleinhatt_ Жыл бұрын
After watching it 2 times im finally understand. Thank you for this knowledge
@yelocode
@yelocode Жыл бұрын
Glad to hear that
@abirbd369
@abirbd369 Жыл бұрын
this series is a gem . waiting for the next lecture . would u pls give us a lecture about filament multi panel concept?
@yelocode
@yelocode Жыл бұрын
Thanks for watching. Will for sure cover multiple panels in the up coming episodes
@houmamelazar6337
@houmamelazar6337 Жыл бұрын
very good course. Whut about nested relationship like for an example a user which have a post which has a category. How to access the category from the user and same in the reverse way
@WalidTouati91
@WalidTouati91 3 ай бұрын
thank you sir, your doing a very good and useful tutorials❤
@alanrodrigoortegabalboa9350
@alanrodrigoortegabalboa9350 Жыл бұрын
Many thanks, I just needed this, please continue with filament videos. Could you do some of multitenancy?
@yelocode
@yelocode Жыл бұрын
Thanks for watching. Will be uploading more videos soon. Will for sure cover multitenancy in the course.
@alanrodrigoortegabalboa9350
@alanrodrigoortegabalboa9350 Жыл бұрын
I will wait for these, thanks.
@amouchaldev
@amouchaldev Жыл бұрын
We would appreciate more videos in this tutorial
@yelocode
@yelocode Жыл бұрын
Thank you, will try to make, more videos like this.
@__Cypher
@__Cypher Жыл бұрын
another awesome content. i think we can keep the category inside the edit if admin wants to change the category
@yelocode
@yelocode Жыл бұрын
Thanks for watching.
@mogr488
@mogr488 11 ай бұрын
Amazing, thank you.
@yelocode
@yelocode 11 ай бұрын
Thanks for watching
@engenglish610
@engenglish610 10 ай бұрын
Is it possible to have a form that contains different fields in function of what a user select? I mean a dynamic form.
@joaopoliceno8844
@joaopoliceno8844 8 ай бұрын
Very good.
@yelocode
@yelocode 8 ай бұрын
Thank you
@gabrielguimaraes7925
@gabrielguimaraes7925 2 ай бұрын
Salvou meu querido, obrigado
@АртурЗарипов-б2й
@АртурЗарипов-б2й Жыл бұрын
Thank you very much!
@claudiomenares4172
@claudiomenares4172 Ай бұрын
Thank you very much. I have a question How can i localice FilamentPHP? to set it to Spanish language for example. Sorry for my bad english, i'm latino. Saludos.
@emmanuelodobo4469
@emmanuelodobo4469 Ай бұрын
Hi, can you use for deletes in the relationship manager
@AmirAmirian-cx5rv
@AmirAmirian-cx5rv 9 ай бұрын
thanks for good teaching. i have a problem in filament, Relationship in Form not saving on create action but work on edit form. can you help?
@darreneckersley2240
@darreneckersley2240 Ай бұрын
Thanks
@yelocode
@yelocode Ай бұрын
Thank you for the super thanks🙏
@marciozotelli
@marciozotelli Жыл бұрын
Nice vídeo
@yelocode
@yelocode Жыл бұрын
Thanks
@ahmadrezaishan9191
@ahmadrezaishan9191 7 ай бұрын
how can concat 2 column of relation to show it in table or select input? like this example that about city and state. these columns are in one table named 'geoPos'. the relation method is geoPos(). return $table ->columns([ Tables\Columns\TextColumn::make('geoPos.state' . ' - ' . 'geoPos.city') ->label('location'), in this code, nothing show in 'location' column of the table.
@ahmadrezaishan9191
@ahmadrezaishan9191 7 ай бұрын
I've found the answer and am eager to share it, hoping it proves useful. TextColumn::make('city_id') ->formatStateUsing(function (Model $record) { return $record->geoPos->title . ' - ' . $record->geoPos->parent->title; })->label('location'),
@engenglish610
@engenglish610 10 ай бұрын
It's so difficult to choose what can I use!!! Only livewire or filament!!!!
@1337kaas
@1337kaas 10 ай бұрын
Why not both? Get the best of both worlds
@yelocode
@yelocode 9 ай бұрын
You can use both at the same time. Filament uses livewire as well. You can for example use filament for your admin panel and Livewire for any custom interactive components for your the user facing pages
@ousssika5359
@ousssika5359 Жыл бұрын
Thanks for the videos, How to change langage on filament to french ?
@yelocode
@yelocode Жыл бұрын
There is a filament plugin that makes this super easy : github.com/bezhanSalleh/filament-language-switch I have tested it before and it does have French as well.
@lucasger89
@lucasger89 Жыл бұрын
Hello. I get "Livewire\Exceptions\ComponentNotFoundException Unable to find component: [App\Filament\Resources\PostsRelationManager]". What did I do wrong? Edit: solved using: RelationManagers\PostsRelationManager::class, on the relations array.
@MrHamidkurd
@MrHamidkurd Жыл бұрын
Great
@yelocode
@yelocode Жыл бұрын
Thanks For waching Hamid.
@HamadAbdulla_7
@HamadAbdulla_7 Жыл бұрын
thanks boss Can You Make filamentphp page video
@yelocode
@yelocode Жыл бұрын
Thanks for watching. Do you mean custom pages? Yes I will cover that too
@dudovichenko
@dudovichenko 2 ай бұрын
Hi, I like Filament, but... does anyone know a way to make translatable repiters and/or image galleries with translatable custom fields (like alt, title, description, etc)? All Laravel admin panel software (tried Filament, Twill, Backpack) can't handle this task without bugs, and these tasks is so important for my regular projects 😢
@prakashpokhrel9912
@prakashpokhrel9912 9 ай бұрын
after adding relation manager table, for create after we press the create button then how can we set the value for some of columns
@azadehghasemi3244
@azadehghasemi3244 10 ай бұрын
How to add the exists posts into category in edit/create form, you just Taught how to add a new post, but how to add an exist post?
@hasithudayanga6160
@hasithudayanga6160 Жыл бұрын
How can we change specific field on a form. For example i have a input and next to that input i have a button. When i change the input and click the button i want to update that exact value on the DB. also i want to mount that value back to that field without reloading the page. How can i do that?
@yelocode
@yelocode Жыл бұрын
You can use actions for a use case like this, they allow you show a modal with any custom form you like and perform an update operation on your model. I will be covering them in the upcoming videos . filamentphp.com/docs/3.x/forms/actions#adding-a-hint-action-to-a-field The documentation has an example that seems to be similar to your use case
@leeiberry
@leeiberry Жыл бұрын
in the table function , how would you display description/name for a foreign key field .. ie say this table in the video had a column for statusID and status was a table with 10 rows ... and the primary key/ID was statusID , how would i display in the table StatusDesc from the status table ? ie StatusID = 3 , Status Desc = " cool ", Note I have an example working for a form but it does to transfer to the table definition !
@leeiberry
@leeiberry Жыл бұрын
PS great video series :)
@khant-nyar
@khant-nyar 2 ай бұрын
multiple select with one to many supported ? i don't get it
@cybermanbg
@cybermanbg 2 ай бұрын
How to rename the linked record. Create post = Make a post.
@yuliarahma1300
@yuliarahma1300 Жыл бұрын
can you make a use case a multi panel with roles management plugin, thnaks. 🙏🏻, (and can you change the icon users resources 🤣)
@yelocode
@yelocode Жыл бұрын
Thanks for watching. Will try to cover multiple panels and role management later on in the course. Sure thing will change the battery icon 😅😂
@amouchaldev
@amouchaldev Жыл бұрын
My eyes can't believe what they see
@yelocode
@yelocode Жыл бұрын
:)
@wmafendi
@wmafendi Жыл бұрын
very nice
@yelocode
@yelocode Жыл бұрын
Thanks
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 9 МЛН
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
Go Pointers: When & How To Use Them Efficiently
14:09
Anthony GG
Рет қаралды 82 М.
13 Filament Relation Manager - FilamentPHP V3 Tutorial
17:41
Tony Xhepa
Рет қаралды 15 М.
Run ALL Your AI Locally in Minutes (LLMs, RAG, and more)
20:19
Cole Medin
Рет қаралды 192 М.
Laravel vs Rails for Javascript developers
19:50
Sam Lewis
Рет қаралды 6 М.
20 Laravel Filament Widgets for Different Panels
21:47
Tony Xhepa
Рет қаралды 18 М.
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 9 МЛН