LaravelJutsu
LaravelJutsu

Ludovic

@LaravelJutsu

Software engineer – Creator of Laravel Jutsu. Magic player. 🎲

28 Posts 2K Views

  • No matching results...
  • Searching...

/ 255

Pinned

💻 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

163

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

61

Highlighting the power of the Exceptions facade in Laravel! 🚀

Ensuring an order with 'shipped' status can't be processed. 📦

image

171