Create Helpers for Collections or Carbon with Laravel Macros

If you need some Collection or Carbon method which doesn’t exist by default, you can easily create it with Macros. Official docs: #extending-collections Carbon Macros: #api-macro Useful packages: - spatie/laravel-collection-macros - dansoppelsa/laravel-carbon-macros - - - - - Support the channel by checking out our products: - Try our Laravel QuickAdminPanel: - Enroll in my Laravel courses: - Purchase my Livewire Kit: - Subscribe to my weekly newsletter:
Back to Top