You can easily extend the default Str class of Laravel, adding your own functions, with Macros. Let me show you how.
Related links:
- Original Aaron's tweet: [ Ссылка ]
- Create Helpers for Collections or Carbon with Laravel Macros [ Ссылка ]
- DRY: Shorter Laravel Responses with Macros [ Ссылка ]
- How to Contribute to Laravel Docs (or any open-source repository) [ Ссылка ]
- - - - -
Support the channel by checking out our products:
- Enroll in my Laravel courses: [ Ссылка ]
- Try our Laravel QuickAdminPanel: [ Ссылка ]
- Buy my ready-made Laravel scripts: [ Ссылка ]
- Purchase my Livewire Kit: [ Ссылка ]
- Subscribe to my weekly newsletter: [ Ссылка ]
Ещё видео!