Skip to content

Recipes

Each recipe solves one task and shows the URL it builds. Every example was run against the library, and the comment shows the result. Where a value changes between runs, such as a signature or timestamp, a placeholder in braces stands in for it, and an ellipsis marks output that is shortened.

The recipes share one base builder:

use SomehowDigital\ImgProxy\Url;
$base = Url::create()->source('https://example.com/photos/cat.jpg');

For the building blocks, see Building URLs and the options reference.