Transform URL Handling with Laravel's Uri Class
Transform the way you work with URLs in Laravel using the new Uri class. This powerful abstraction makes URI manipulation more intuitive and maintainable than ever.
Basic Usage
Create and manipulate URIs with a fluent interface:
$uri = Uri::of('https://laravel.com')
->withQuery(['name'