Hey Laravel devs, here's a gem for you! 💎
Filter collections with type precision using whereNotInStrict!
Perfect when exact value and type matches matter.
#Laravel
www.harrisrafto.eu/precise-collection-filtering-with-laravels-wherenotinstrict
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
• • 226 Posts • 44K Views
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
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