o6web/favicon-collection

There is no license information available for the latest version (1.0.0) of this package.

Package for building a collection of favicons from a base image

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/o6web/favicon-collection

1.0.0 2025-12-30 21:43 UTC

This package is auto-updated.

Last update: 2025-12-30 21:58:16 UTC


README

Usage

use o6web\FaviconCollection\Builder;

$builder = new Builder(new IcoConverter());

$builder->build($sourceFilePath, $backgroundColorHex, $gutterSpace, $arrayOfValidSizes, $shouldGenerateFaviconIco);
if ($builder->hasOutputFiles()) {
	$builder->zipOutputFiles($outputFilePath); // archive the output files to the specified zip
}

Installation

Simply add a dependency on o6web/favicon-collection to your composer.json file if you use Composer to manage the dependencies of your project:

composer require o6web/favicon-collection

Although it's recommended to use Composer, you can actually include the file(s) any way you want.

License

FaviconCollection is MIT licensed.