Back

Hey Laravel Developers

Starting with Laravel v11.35.0, we have a new class available called Uri.

This class as the name suggests allows us to parse and manipulate URIs and their components easily.

Now you no longer need to work with the parse_url(), http_build_query() and other core PHP functions.

This new Uri class is a more developer-friendly API for working with URIs as shown in the below example.

image

87

  • No matching results...
  • Searching...

/ 1000