Skip to main content

Installation

Install the PHP package in your project with Composer.

Icons

Render SVG markup directly for HTML output, or use the helper when you also need the icon URL.

Avatars

Render canonical SVG markup directly, or use the helper to select a raster format.

QR codes

Render canonical SVG markup directly, or use the helper to select a raster format.

Placeholders

Render a square as canonical SVG markup, or use custom dimensions when you need another aspect ratio.
Helpers return the selected representation URL immediately. Calling svg() retrieves canonical SVG markup for the same asset.