What's new in Laravel v7
summary
Laravel 7 arrives next week and upgrades are typically a quick 10–15 minute change (mostly swapping Exception for Throwable). New features include custom casts with get/set and inbound-only interfaces for value objects and hashing; Blade components (class, anonymous, inline) with attribute bags and method access; an HTTP client on Guzzle with simple syntax plus testing fakes, URL stubs and response sequences; route model binding that scopes child lookups; job max_exceptions (example: 25 releases but fail after 3 exceptions) and chained closures. Route-cache matching is up to twice as fast; docs on master branch.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:03Laravel 7 overview
- 3:29Laravel 7 development focus
- 5:16Laravel Airlock introduction
- 8:05Custom cast feature
- 21:57Blade components
- 35:53HTTP client and testing
- 43:57Fluent strings
- 45:20Route model binding
- 48:06Queue job improvements
- 51:17Mail template updates
- 51:58Query time casting
- 53:22Stub customization
- 54:03Routing cache speed
- 54:44CORS integration
- 56:08Summary of Laravel 7
