UTILITY

url_with()

Add, replace or remove query parameters.

Signature

string url_with(string $url, array $params)

Example

url_with('https://example.com?a=1', ['a'=>2, 'b'=>3]);

Available from: 1.5.0

Reference navigation

Previous: url_path()

Next: uuid()

Back to utilities