harris_rafto
harris_rafto

Harris Raftopoulos

Verified

@harris_rafto

Senior Software Engineer | 15+ years in PHP, 11+ with Laravel | Expert in Livewire, TailwindCSS & VueJS | DevOps Enthusiast | 🎤Speaker at Athens Laravel Meetup

225 Posts 44K Views

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

/ 255

Hey Laravel devs, here's a gem for you! 💎

Make your Artisan commands interactive with PromptsForMissingInput! Turn missing arguments into smart prompts automatically.

Perfect for user-friendly command-line tools!

www.harrisrafto.eu/interactive-command-prompts-in-laravel-guide-to-promptsformissinginput

#Laravel

image

45

Hey Laravel devs, here's a gem for you! 💎

Speed up your Artisan commands with option shortcuts! Use the | delimiter to create quick, single-letter alternatives to your options.

Perfect for faster command-line operations!

www.harrisrafto.eu/quick-command-options-in-laravel-mastering-shortcuts

#Laravel

image

44

Hey Laravel devs, here's a gem for you! 💎

Remove multiple headers in your tests with the new withoutHeaders method! Skip the chaining and remove an array of headers in one go.

Perfect for cleaner, more readable tests!

www.harrisrafto.eu/cleaner-test-header-management-with-laravels-withoutheaders

#Laravel

image

99

Hey Laravel devs, here's a gem for you! 💎

Test count ranges in JSON responses with the new countBetween method! Perfect for asserting flexible count requirements in your API responses.

No more rigid exact-count assertions!

www.harrisrafto.eu/testing-number-ranges-in-laravel-with-countbetween

#Laravel

image

124