💻 Looking to boost your PHP dev on VS Code? Check out TemPHPest! 🔥
A powerful extension that rivals PHPStorm, with autocompletion, refactoring, and more!
💡 Tested and approved on Laravel! 🚀
(French content with subtitles)
youtu.be/RK9UjWwCfPc?si=lspMhJhVNxkh_pwT
Ludovic
@LaravelJutsu
Software engineer – Creator of Laravel Jutsu. Magic player. 🎲
• • 28 Posts • 2K Views
Simplified my test assertions with a custom method in Laravel + Pest!
Instead of multiple assertDatabaseCount calls, I created assertDatabaseHasCount to handle table counts in one go.
Clean, reusable, and less code duplication.✨
What do you think? 🤔
x.com/LaravelJutsu/status/1841832123264627056/photo/1
Highlighting the power of the Exceptions facade in Laravel! 🚀
Ensuring an order with 'shipped' status can't be processed. 📦
I gave it a try weeks ago. Good but I prefer VSCode.
It depends! I would go with `withAggregate()` or `join`