Installation
Install ALTO Favicon with Composer and provide a rasterizer suitable for the source image format.
composer require alto/faviconThe package requires PHP 8.3 or later. Composer installs PSR Log and the Symfony Console, Filesystem, and Process components automatically.
SVG input
Provide at least one of these rasterizers:
rsvg-convertfrom librsvg.- Inkscape.
- ImageMagick CLI through
magickorconvert. - The Imagick PHP extension.
The package tries them in that order and continues to the next adapter when one is unavailable or fails.
PNG input
Provide the Imagick PHP extension or GD. Imagick is tried first, then GD.
The selected rasterizer creates the PNG sizes required for ICO, Apple touch, manifest, and search outputs. Continue with Getting Started to generate a set.