PidePHP
pidephp.bsky.social
PidePHP
@pidephp.bsky.social
PHP Integrated Development Extensions
Reposted by PidePHP
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
December 19, 2024 at 1:59 PM
Reposted by PidePHP
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
February 2, 2025 at 12:05 PM
Reposted by PidePHP
My VS Code extension [https://marketplace.visualstudio.com/items?itemName=Porifa.laravel-intelephense] 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
February 13, 2025 at 4:37 AM
Reposted by PidePHP
Don't worry about people's opinion.
December 2, 2024 at 11:11 AM
Reposted by PidePHP
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"
November 23, 2024 at 12:38 PM