Welcome to the Laravel Toolbox repository.
This repo contains the code examples and scripts from the Laravel Toolbox YouTube series - 15 bite-sized lessons covering essential Laravel features in 5 minutes or less.
Each episode shows you how to use a specific Laravel feature with clear explanations, live code, and practical tips you can drop straight into your projects.
- API Resources: Clean, consistent JSON responses for your APIs.
- Form Requests: Validate and authorize incoming requests.
- Eloquent Accessors & Mutators: Transform attributes automatically.
- Custom Blade Directives: Simplify repetitive template code.
- Laravel Scout: Full-text search made simple.
- Query Scopes: Reuse query logic across models.
- Events & Listeners: Decouple your application logic.
- Task Scheduling: Automate recurring jobs.
- Job Queues: Offload heavy tasks for better performance.
- Rate Limiting: Protect your app from abuse.
- Testing with Pest: Write expressive, fast tests.
- Laravel Pint: Keep your code clean and consistent.
- API Rate Limiting: Control traffic at the API layer.
- Policies & Gates: Handle authorization cleanly.
- Observers: Hook into model lifecycle events.
👉 Links to episodes will be added as they go live on YouTube.
Got a tip, suggestion, or better example? Open a PR or drop an issue - this series is for the Laravel community, and contributions are welcome.
This repository is open-sourced under the MIT license.
Catch the full series on YouTube: Laravel Toolbox
New episodes every week.