In this version, I found a powerful feature that will help us deal with HTTP and URI in addition to other features, so I wanted to share with you this feature in addition to the new features in this version
- HTTP client URI templates https://github.com/laravel/framework/pull/45982
URI templates to the Laravel HTTP client, which uses guzzlehttp/uri-templates under the hood
Http::withUrlParameters([
'endpoint' => 'https://laravel.com',
'page' => 'docs',
'version' => '9.x',
'thing' => 'validation',
])->get('{+endpoint}/{page}/{version}/{thing}');
// https://laravel.com/docs/9.x/validation
- Add @style Blade directive https://github.com/laravel/framework/pull/45887
<div>
<span @style([
'margin-top: 10px;',
'font-weight: bold' => $active,
])>
Dashboard
</span>
<svg @style([
'font-weight: bold; text-decoration: underline;',
'margin-top: 10px' => $active,
])>
<path />
<path />
<path />
</svg>
</div>
- Pending "has many through" and "has one through" builder hasManyThrough Shorter Syntax https://github.com/laravel/framework/pull/45894
I hope you enjoyed with me and to learn more about this release visit the sources and search more. I adore you who search for everything new.
Source :- https://laravel-news.com/laravel-9-51
Source :- https://www.youtube.com/watch?v=6DvUNEwICno
Source :- https://www.youtube.com/watch?v=BBTRv2dRuwo
Top comments (0)