I want to show you practical examples of where Traits are used in Laravel: 3 examples from the Laravel framework itself, and two “bonuses“.
Examples mentioned in the video:
- Soft-deletes: #soft-deleting
- Resetting passwords:
- Email verification:
- Laravel Media Library:
- QuickAdminPanel CSV Import module: ht