Posts by Aamir Sohail Laravel developer
That's where Filament shines
That's good, keep it up
I cracked the code so you don’t have to.
Ever tried changing the admin panel’s header link in Filament?
Spoiler: It’s NOT in the docs.
After digging into the source code, I found this gem:
Just override homeUrl in your PanelProvider
Save yourself hours—bookmark this.
#Laravel #FilamentPHP #DevTips
Quick Tip: Speed Up Your Laravel App by Caching Routes.
In production, a quick
php artisan route:cache
can significantly reduce boot time and improve performance.
#Laravel #Optimization
I use www.ray.so#language=php
My VS Code extension [marketplace.visualstudio.com/items just hit 100K installs 🎉 Super excited!
Huge thanks to everyone who uses it! 🙏
What should I build next? A Livewire extension for:
Livewire Flux UI
Livewire Volt
#vscode #extensions #livewire
When working with #Laravel Eloquent, the order of select() and withCount() matters! 🧵👇
Always chain select() BEFORE withCount() to keep your queries lean!
Understanding this behavior can save you from unexpected results. Always double-check your query structure! 💡 #PHP #Laravel #Eloquent
As this is core PHP it's hard to improve it for readability.
Being a PHP developer, functionality is good but readability is 🙂
Laravel Tip
Are you using the Attribute casts in your models?
Make sure to declare the return type in your accessors/mutators!
hashtag#Laravel hashtag#PHP
💗💗 waiting
We are here, you are not alone
Don't worry about people's opinion
Don't worry about people's opinion.
Little Tailwind tip — instead of trying merge classes and manage conflicts with `!important`, style things based on data or ARIA attributes and just handle everything declaratively with CSS:
I'm using it, and not that much.
I'm doing something for IDE support especially vs code
Just use this in Laravel: DB::enableQueryLog(); // Run your queries dd(DB::getQueryLog());
Another way to check the time taken by database query in laravel,
It'll show you all the queries being executed. Debugging is made simple! 🚀 #LaravelTips"