I've got really confused in the HTML part, I spended 30min just trying to find my self on it. I think it would be better if you told the exactly lines you are working on, to keep it more clearer. Your videos are my first time learning Laravel, they are great, keep doing it!
@Nozo_O_O7 ай бұрын
Thanks bro!, That was massive !! :D
@Vichion Жыл бұрын
"Pro tip" if you wanna validate your username as unique but still allow this type of mass-update you may use this as your name validation: 'name' => 'required|min:3|max:40|unique:users,name,' . $user->id,
@kouzokiodin36236 ай бұрын
Thank you so much, just an issue when i click edite profile i can edite the iseas as well
@andrey8663 Жыл бұрын
Thank you for this video. Very helped
@yelocode Жыл бұрын
Glad to hear it!
@howasyourday33515 ай бұрын
hello friend, I have a website. users can send images from the dashboard of the laravel application(breeze), then the admin (Filament) can edit them. but the image only appears in the table, when I edit the image it does not appear. does anyone have a solution here? thanks, god bless🙏
@ahmedghazy76183 ай бұрын
may I ask why the "route('users.show')"can't be used in the navbar instead of the profile route? thank you for vids it's been a great help
@snipohyper2853 ай бұрын
Boy the html part got me on walls .BUT GREAT VIDEO NONE THE LESS
@AnkitLakkad10 ай бұрын
Whenever you click on any idea cards username or it will redirect to the logged in user and not the creator of the idea
@MrOryly Жыл бұрын
Is it possible to store the validation in a separate file (function? class?) and call it only when needed? To avoid repeating the code. Assuming, of course, that we wants to validate the same data in different files :)
@PedroCoelho98 Жыл бұрын
I think so. I believe it's called a custom request. You can generate it with artisan make:request
@yelocode Жыл бұрын
Yes, exactly what @PedroCoelho98 said.
@MrOryly Жыл бұрын
@@PedroCoelho98 Thx.
@PedroCoelho98 Жыл бұрын
Does the image store method generate unique filenames? Or can we replace files by accident?
@yelocode Жыл бұрын
Very unlikely to replace images on small projects .It does generate unique names but the hashing algorithm it uses appears to be Str::random(40) which uses PHP random_bytes under the hood. Not sure what the odds of a collision are. You could use storeAs($filePath,$fileName,$options) instead and generate your own unique name and add a unique user prefix to be sure. You also need to add the file extension at the end when using storeAs. In the past I have personally used this package github.com/spatie/laravel-medialibrary/tree/main to handle the storing when I have to do a lot of file uploads for multiple models or multiple files per model, it users folders to separate each models images by default.
@BuffTheCreator Жыл бұрын
you are very good at teaching keep it up! and i think you're persian... am i right ? i almost can feel the accent 😂
@yelocode Жыл бұрын
Thanks for watching Buff. Yes, you are right 😉. Merci az support.
@tmcxp9 ай бұрын
It is very disorienting, but also a good opportunity for reviewing old code and their relation, painful tho lol
@HamadAbdulla_7 Жыл бұрын
thank you
@yelocode Жыл бұрын
Thank you for watching and the support.
@lucascavalheri7217 Жыл бұрын
I'm just loving the way you teach. I have a doubt... How would I get a preview of the image when editing?
@yelocode Жыл бұрын
Glad to hear you like the videos :). Regarding image preview, would need to write some javascript, or also can do it with livewire, I do have a video on livewire file upload with image preview on the channel. In the upcoming episodes I will be redoing this part using livewire so it's live and add the image preview as well. Thank you for watching.
@technicalaman_kld2803 Жыл бұрын
Not easy understand
@dinaahmed9210 ай бұрын
you are so cleaver thank you for sharing that with us 🤍🤍