Hey Tuto, glad to see you again my friend. As far as my projects use Filament AP, I've learned that it is perfectly fine and secure to use $guarded =[] instead of defining $filable as with development we add/remove table columns and it makes my life easier :) Found the info on one of Dan's videos ;)
@ibrahimjavaid68616 күн бұрын
I have a question regarding laravel telescope package will be very grateful if you answer me. What if we want Telescope to log only specific Modal changes say Order.Right Now telescope is logging all modal changes? Can we do this using filter or tag method from TelescopeServiceProvider.php file. //config/telescope.php File Watchers\ModelWatcher::class => [ 'enabled' => env('TELESCOPE_MODEL_WATCHER', true), 'watch' => [ \App\Models\User::class, \App\Models\Lead::class, ], 'events' => ['eloquent.created*', 'eloquent.updated*'], 'hydrations' => true, ]
@VadimBesedin7 күн бұрын
Clear, simple, straight-forward tutorial. *@Tuto1902, your teaching style is great!* Subscribed :) Thank you for your time and knowledge.
@matthewmiranda42277 күн бұрын
Hi sir, what is the name of vscode plugin that auto import the statement? 59:12
@Tuto19027 күн бұрын
If I'm not mistaken, that's PHP Intelephense
@tjoasusanto7 күн бұрын
😂😂😂
@engbz7 күн бұрын
Hello, thank you very much for the lesson. When I use CheckboxList, the names do not appear. I don't know what's wrong
@Tuto19027 күн бұрын
Depends on what you are using for the options. When using a simple array, the key will be the value of the checkbox and the array value will be the checkbox label. When using relationships, just need to specify what column will be used as the label of the checkbox using the titleAttribute parameter filamentphp.com/docs/3.x/forms/fields/checkbox-list#overview
@djlinedance8 күн бұрын
What webhooks are you using for the user->subscriptions->subscription_items? Mine only updates the User model.
@djlinedance7 күн бұрын
I figured it out. I had the route /stripe/webhook active and it did an override on the built in cashier webhooks.
@numenor218 күн бұрын
I had the same error a few years ago in an app with livewire 2 and I was able to solve it thanks to this method, but yes, I realize that in the documentation of the livewire 3 version there is no mention of this method anywhere. Tuve el mismo error hace unos años en una app con livewire 2 y lo pude solucionar gracias a este método, pero si, me doy cuenta que en la documentación de la versión de livewire 3 no aparece por ninguna parte la mención de este método.
@BenedethNkwute9 күн бұрын
Thank you so much sir. Please make a tutorial on laravel cashier paddle
@djlinedance9 күн бұрын
Thank you so much for everything you have done in this video! Helped so much :)
@cubedev483810 күн бұрын
Thanks a lot
@appimedi973811 күн бұрын
great!! i love flux! Already preordered. Your video is cool, but next time without music. 🎉🎉
@brunorossani730111 күн бұрын
Great content!
@abessesmahi488811 күн бұрын
Your tutorials are great as always, but i think the music during the tutorial is disturbing no need for it. Thank you so much for your efforsts.
@Tuto190211 күн бұрын
Noted. Thanks for the feedback
@SodalisUK11 күн бұрын
I was going to watch this but you were talking 30 minutes of my time to get across 5 minutes of content.
@stirfryhelp12 күн бұрын
Thanks for the demo
@FredrikPlays12 күн бұрын
Excellent video!
@ifeanyinnaemego13 күн бұрын
Do you have a course on Laravel testing
@Tuto190211 күн бұрын
I don't have a specific course but most of the recent tutorials make heavy use of testing.
@ifeanyinnaemego13 күн бұрын
Do you have a course that teaches using vimeo as a storage for uploading and rendering videos in Laravel application
@Tuto190211 күн бұрын
Not at the moment. Sorry
@Wawazi13 күн бұрын
This is just awesome! An absolute joy of a video
@lukccb15 күн бұрын
This is really really insane! Because many "AI" tools out there don't offer these smooth and realistic voices. And from openai voice, it's really amazing and realistic. 0.01$ per generated audio. Thanks for the content.
@MahmoodAlFoqahaa15 күн бұрын
Hello, I have a login form that users can be login using 1st tab phone+otp or 2nd tab username+password How can I validate only the form data for the active tab when a user submits a login form with multiple tabs in Filament? Also, How can I retrieve the active tab value during submission to determine which guard or logic to use based on the submitted form data?
@Tuto190211 күн бұрын
You could use the ->persistTabInQueryString() method and then use request()->query() to get the active tab from the query string during submission. As for validation, filament has a multitude of validation functions. I'm sure there's one that would fit your needs filamentphp.com/docs/3.x/forms/validation#available-rules
@tjoasusanto16 күн бұрын
teaching speed is perfect, not too fast and not too slow, thank you
@JamesAutoDude18 күн бұрын
Thank you so much, I was going crazy. I also need a way for someone to pay an invoice so, I'll try to see if I can figure that out. I think the best way is that they'll add the customer as a user, and then I can somehow use this setup as well... I'll figure it out lol
@Tuto190218 күн бұрын
You can do it. I believe in you!
@JamesAutoDude18 күн бұрын
@@Tuto1902 looks like I have to use the stripe-php package directly for the invoice payments and make my own invoicing database tables What also sucks is, there's no help on doing it with Livewire :/ I can't find much that actually works. So I'll have to just do it by regular php methods for now lol
@emredikmen27618 күн бұрын
Hello, what is the name of the program we use to take notes?
@Tuto190218 күн бұрын
obsidian.md/
@ghulamqadir721118 күн бұрын
hey I have created webhook accurately events are fine, subscription is working fine and getting updated in stripe dashboard but in my database subscription table is not getting populated don't know why is that? any clue anyone? I am using Stripe CLI...
@Tuto190218 күн бұрын
No idea. I would recommend going over the Laravel docs about stripe webhooks to make sure you didn't miss anything important. One thing I would do is register a listener for the webhook events to make sure they are being properly handled laravel.com/docs/11.x/billing#defining-webhook-event-handlers
@shaungbhone836819 күн бұрын
Thank you very much. You save my day. Can you show me the database?
@Tuto190218 күн бұрын
Here's the entire code, including database migrations github.com/tuto1902/filament-multi-tenancy
@sui293321 күн бұрын
thank youu! very helpful for my school project. Please do more tutorials
@davidutibe-abasiokuku652422 күн бұрын
You actually rock
@EvandroNeres-t8b23 күн бұрын
What VS extensions are you using?
@Tuto190220 күн бұрын
Catppuccin for VS Code, Catppuccin Icons and all the regular Intelephense extensions.
@CodeWithBehram749723 күн бұрын
I am a mac user and i believe that using Herd on mac with DBNgin and TablePlus is a great environment, but for windows yeah its not a good approach.
@compton830123 күн бұрын
Thank you very much.
@milenkostadinov870224 күн бұрын
After finishing the LMS Series, it is the time to finally try to catch up on the KANBAN board with the rest of the gang. Thanks again @tuto for all your help and shared wisdom. Never stop to amaze us and may the forces be with you forever :)
@dzccccc24 күн бұрын
I think one additional item may be when creating the subscription, not passing 'default' into the first argument causes $user->subscribed() to return false. I couldn't figure out the issue as my subscription was in the DB, but $user->subscribed() returned false, setting the first argument in newSubscription to 'default', cancelling the existing subscriptions, and recreating the subscription then yielded the expected result (true).
@dzccccc24 күн бұрын
Awesome! Subscribed! So happy to see you're almost to your 5k goal, but I know you will get many more subscribers than that. Thank you so much!
@milenkostadinov870224 күн бұрын
Hey @Tuto1902 As you know I am close to finishing the video tutorials on this series before I jump to the KANBAN board and follow along, but this episode got me thinking - what is the reason that you set the product & price IDs first in stripe.config but then transfer the values to .env instead of just adding them in a single location and use them from there? I would understand if it was a security matter, but the thing is that /config/ folder should be much more secure than the .env (believe the two have the same security level) and it seems to be just a second jump-read from file to file. The only reason I can explain your reasons would be to keep the configuration in a single file, but in such a case, why did we start doing so in the first place in config/stripe.php. Also, it is a common practice these days to use Enums for data as they can be manipulated easily and might be an easier alternative to keep non-crucial data out of configuration files... It will be interesting to hear your input about the motives to use your current approach and as always - KUDOs for the great work in filming and THUMBS-UP effects :)
@najatiscoding24 күн бұрын
Thank you so much for this, I've been having trouble with images in Filament. I'm importing products into my Laravel project with images from the public folder, but when I try to edit an imported product in the edit form, the image doesn't show up in the file upload field. Is this because I'm working locally, and will it be resolved in production, or is there another issue causing this?
@Tuto190220 күн бұрын
Make sure the url for the image is the correct one. Also, it might be a good idea to go through the File storage section of the docs to make sure you're not missing anything important laravel.com/docs/11.x/filesystem#the-public-disk
@vugarkhalil24 күн бұрын
Respect ❤
@mahasiswago25 күн бұрын
Hello friends, I'm learning to make a Laravel application using Jetstream (user) and Filament (admin). Why doesn't the image sent by (user) appear in the Filament (admin) edit table? Can anyone help me here? thank you, god bless.🙏
@Tuto190220 күн бұрын
I feel like I would need more information to go on. Try posting your question on the discord server with code snippets of where the problem occurs. Link in the description
@15.giskanurulfitri1525 күн бұрын
i can't do the installation like in the beggining, in my terminal there's no " -> ~ " what should i do to make it like that?
@Tuto190220 күн бұрын
no need to concern yourself with that. It's not part of the installation. Focus only on the command itself. If you do want to make it look like that, try installing OhMyZsh ohmyz.sh/
@trancosger26 күн бұрын
There are parts of the video that are not visible, for example, at 15:15 the name of the variable is not shown. Please, don't switch screens so quickly. Thanks.
@Tuto190220 күн бұрын
Thanks for the feedback. I'll keep it in mind for future videos.
@mkwaliyo27 күн бұрын
Can believe I wasnt subscribed all along. Thanks Man
@milenkostadinov870228 күн бұрын
Hey Tuto, I am not 100% sure yet, but I think that we can use the same approach used in WatchEpisodeTest where we created a test, and a course, assigned a course to the user with some episodes (episodes are not really necessary I guess) and then we can use the actingAs method to identify us as logged-in users the same way we did with most tests and since we are already having a course assigned to the user as well as the couse has episodes and the newly created user as an owner of the course should see the page, it should allow by using the actingAs method to be loggedin/identified and see the Start Watching button as well. Let me finish this lesson and I will tinker the test to make it work with logged in users as we want to have a bullet proof system that tests every scenario we might throw at it as with the growth of every project will grow the necessity of support/maintenance and having all required tests allows for a quick and easy way to know our code/modules updates does not break the system ;)
@milenkostadinov870228 күн бұрын
Yes. as I suspected, all the relations we've added previously allow us still to create an user, create a new course, assign it to the user and then define the logged in user we would like to use BEFORE testing and I got a positive passing test using this code: it ('shows the start watching action button', function () { $course = Course::factory() ->for(User::factory()->instructor(), 'instructor') ->has(Episode::factory(), 'episodes') ->create(); $user = User::factory()->create(); $user->courses()->attach($course); Livewire::actingAs($user)->test(ShowCourse::class, ['course' => $course]) ->assertSee('Start Watching'); });
@DevHub16828 күн бұрын
I don't why it was so slow even initial project. I use macbook for filament project. Do you know why?