Download the PHP package eminos/statamic-favicons without Composer
On this page you can find all versions of the php package eminos/statamic-favicons. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download eminos/statamic-favicons
More information about eminos/statamic-favicons
Files in eminos/statamic-favicons
Package statamic-favicons
Short Description Optional Statamic tag for rendering favicon markup generated by statamic-favicons.
License MIT
Homepage https://github.com/eminos/statamic-favicons-addon
Informations about the package statamic-favicons
Statamic Favicons
A tiny Statamic favicon add-on for projects that use the statamic-favicons generator. The generator is a simple CLI that creates a complete favicon set in a few seconds from one source image. It auto-detects a Statamic project, finds likely source icons, previews them in the terminal, suggests Tailwind theme colors, detects common Antlers partial and layout conventions, writes the generated assets, and can create an Antlers partial for your layout.
The primary workflow is still the NPX generator:
That command generates the favicon assets, manifest metadata, Antlers partial, and JSON data directly in your Statamic project. This add-on is optional. It exists as a small Statamic-native convenience layer for teams that prefer a tag in their layout.
Related links:
- NPX generator: https://www.npmjs.com/package/statamic-favicons
- Generator source: https://github.com/eminos/statamic-favicons
CLI Preview
The generator is wizard-first. A typical run looks like this:
What This Add-on Does
It adds one Antlers tag:
The tag renders favicon markup from the files generated by the NPX package:
resources/views/partials/favicons.antlers.htmlresources/favicons.json
If neither file exists, the tag renders nothing in production. In local debug mode it can output a short HTML comment reminding you to run the generator.
When To Use It
Use the generator only if you want the simplest setup:
Install this add-on if you prefer this instead:
That is intentionally the whole feature. The generator does the real favicon work; the add-on only gives Statamic a clean runtime hook for the generated output.
Installation
Then generate your favicons from the Statamic project root:
Add the tag inside your layout <head>:
Configuration
Publishing the config is optional:
The defaults are:
Development
License
MIT