mmonari's avatar

mmonari wrote a comment+100 XP

3w ago

Hello Jeremy, Just some quick feedback. I gotta say, I love this "vanilla" way of simply writing code to pass on ideas and concepts. Without interference from auto completion tools while listening to and watching you in action, this makes so much easier to assimilate it all.

While you probably should've extracted functionalities to services and used Livewire, It is just as nice to watch it being built like that 😄 thanks so much for this great series!

mmonari's avatar

mmonari wrote a comment+100 XP

1mo ago

The addition of an abstract 'BasePanelProvider' is of great value in code maintainability! Thanks for sharing that great tip!

mmonari's avatar

mmonari wrote a comment+100 XP

1mo ago

Hey Kevin, awesome video class! I really liked the tip on ->strictAuthorization() in Filament panels to ensure all base models policies are covered. I'll definitely be using that from now on.

Regarding custom Filament Actions, when using the ->authorize() macro, I'd like to share a helpful tip: instead of passing an entire Gate check class with its parameters, you can simply pass a string with the name of the policy method to be checked. You can include additional parameters if needed, but using just a string provides better readability and convenience from automatic model binding, in which current model record is automatically available in view/edit pages, or the resource model class in listing pages, along with current User of course. So sometimes, all an action needs is ->authorize('custom') where 'custom' is a policy method defined in ModelPolicy.

Please correct me if I am wrong on this one 🤙🏾

mmonari's avatar

mmonari liked a comment+100 XP

3mos ago

@sean2025 Awesome, thanks! Music to my ears!

mmonari's avatar

mmonari liked a comment+100 XP

3mos ago

I've recently started learning Laravel, and Livewire was one of the things that pushed me in that direction. I'm so excited to see Livewire 4 released and in action.

Thanks for all the effort you put into Livewire and Flux. I'm also enjoying the beautiful Flux Pro components!

mmonari's avatar

mmonari liked a comment+100 XP

3mos ago

Livewire has truly changed how we develop our platform and taken it into a completely new world of usability and professionalism. And with Flux on top of that, it also looks amazing.

Now with Livewire 4, it’s exactly as you say: it feels like our platform was built by a large team of PhD-level JavaScript frontend engineers, when in reality it’s just a couple of guys with mediocre Laravel knowledge who somehow ended up running one of our country’s largest e-commerce platforms 😄

What excites me the most, though, is where this goes from here. Sitting around waiting for new Flux components like a small kid waiting for presents on Christmas Eve, and genuinely wondering: how can Livewire 4 possibly get any better? What does the future have in store?

So excited to see where this goes. Amazing work, Caleb! You are a true pioneer in the industry ⚡️

mmonari's avatar

mmonari liked a comment+100 XP

3mos ago

@skoTner Wow, so cool to hear that these tools have leveled up your team! What a kind comment to read. 👊