Alto Favicon generates a focused modern favicon set and its HTML integration snippet from one SVG or PNG source. It preserves an SVG source for modern browsers and selects an available rasterizer for the required bitmap outputs.
The default set contains the browser icon, Apple touch icon, HTML snippet, and either the original SVG or PNG fallbacks. Web App Manifest, Android, maskable, and search icons are opt-in.
![]()
Documentation
- Installation: install the package and a compatible rasterizer.
- Getting started: generate, publish, and use a first favicon set.
- CLI: run the generator and inspect created or skipped files.
- PHP: build options, generate files, and read the result report.
- Configuration: choose paths, colors, optional files, and overwrite behavior.
- Rasterizers: understand SVG and PNG adapter selection and failures.
- Files: compare default and optional generated outputs.
- Errors: handle invalid input and unavailable rasterization.
Boundaries
The package generates static files; the application remains responsible for serving them from the configured public path and adding the generated tags to the document head. Rasterizer availability depends on the PHP runtime and installed executables on the machine performing generation.