Hey Laravel devs, here's a gem for you! 💎
Generate collections dynamically with the times method!
Perfect for creating sequences, test data, or any calculated series of values.
www.harrisrafto.eu/generate-collections-on-the-fly-with-laravels-times-method
Harris Raftopoulos
@harris_rafto
Senior Software Engineer | 15+ years in PHP, 11+ with Laravel | Expert in Livewire, TailwindCSS & VueJS | DevOps Enthusiast | 🎤Speaker at Athens Laravel Meetup
• • 224 Posts • 44K Views
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
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
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
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