DEV Community

Morcos Gad
Morcos Gad

Posted on • Updated on

Great Things Laravel 9.51 Released

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

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
Enter fullscreen mode Exit fullscreen mode
<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>
Enter fullscreen mode Exit fullscreen mode

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)