Download the PHP package in-square/pimcore-favicon-bundle without Composer
On this page you can find all versions of the php package in-square/pimcore-favicon-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download in-square/pimcore-favicon-bundle
More information about in-square/pimcore-favicon-bundle
Files in in-square/pimcore-favicon-bundle
Package pimcore-favicon-bundle
Short Description Favicon generator bundle for Pimcore.
License GPL-3.0-or-later
Homepage https://github.com/in-square/pimcore-favicon-bundle
Informations about the package pimcore-favicon-bundle
Pimcore Favicon Bundle
Generate favicon assets and manifest from a single uploaded image, with an admin module for upload and preview.
Requirements
- PHP 8.1+
- Symfony 6.4
- Pimcore 11 (Admin UI Classic / ExtJS)
Installation
Register the bundle in config/bundles.php if needed:
Install assets and register permissions:
Grant the favicon_settings permission to the target roles/users (Admin -> Settings -> Users/Roles).
Admin module
Open: Settings -> Favicon
- Upload a source image
- Preview the current source
- Delete the favicon set
Upload generates the full set of icons + manifest.json into:
Delete clears /public/favicon/*.
Generated sizes
- Apple touch: 57, 60, 72, 76, 114, 120, 144, 152, 180
- Android: 36, 48, 72, 96, 144, 192
- Favicon: 16, 32, 96
- MS tile: 144
Twig rendering
Use in your base layout <head>:
The function returns the standard HTML tags (apple-touch-icon, icon, manifest, and meta tags). If required files are missing, it returns an empty string.
Configuration
Create config/packages/in_square_pimcore_favicon.yaml:
theme_color-><meta name="theme-color">tile_color-><meta name="msapplication-TileColor">manifest_name->manifest.jsonnamemanifest_base_path-> base path used inmanifest.jsoniconsrc
Notes
- Source file is saved as
/public/favicon/source.png. - Uploading a new image regenerates all files.