PHPackages                             jdz/favicon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. jdz/favicon

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

jdz/favicon
===========

Favicon generator

2.0.2(7y ago)53.2k2MITPHPPHP ^7.1.3

Since Dec 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/joffreydemetz/favicon)[ Packagist](https://packagist.org/packages/jdz/favicon)[ Docs](https://github.com/joffreydemetz/favicon/)[ RSS](/packages/jdz-favicon/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

Favicon Generator
=================

[](#favicon-generator)

This package allows you to build the most common favicons from a single PNG source file.

It can include :

- MS favicons &amp; tiles, manifest.json
- old Apple favicons
- Android favicons, browserconfig.xml
- 64px icon
- 48px icon

Basic usage
-----------

[](#basic-usage)

*\[PATH\_TO\_SOURCE\_FILE\]* is the absolute path to your favicon source PNG file.

*\[DESTINATION\_PATH\]* is the absolute path where you want the favicons to be stored (eg. the public directory of your website)

```
$config = array_merge([
  'filePath'      => '[PATH_TO_SOURCE_FILE]/favicon.png',
  'destPath'      => '[DESTINATION_PATH]/',
  'appName'       => 'Application name',
  'appShortName'  => 'AppName',
  'appLanguage'   => 'fr-FR',
  'appStartUrl'   => './?manifest=true',
  'appThemeColor' => '#F9F9F9',
  'appBgColor'    => '#F9F9F9',
  'appDisplay'    => 'standalone',
  'use64Icon'     => true,
  'use48Icon'     => true,
  'noOldApple'    => false,
  'noAndroid'     => false,
  'noMs'          => false,
], $testConfig);

$generator = new \JDZ\Favicon\Generator($config);

try {
  $generator->execute();

  // the info buffer stores the written files in an array
  $list_of_written_files = $generator->getInfoBuffer();
  echo "";
  print_r($list_of_written_files);
  echo "";
}
catch(\JDZ\Favicon\Exception\GeneratorException $e){
  echo $e->getMessage();
}

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~98 days

Recently: every ~110 days

Total

6

Last Release

2591d ago

Major Versions

1.2.1 → 2.0.02018-05-13

PHP version history (2 changes)1.1.0PHP &gt;=5.3.3

2.0.0PHP ^7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e83e3701566e43438525ed14578487e732b849d152b5071aa1613a0dad96913?d=identicon)[jdz](/maintainers/jdz)

---

Top Contributors

[![joffreydemetz](https://avatars.githubusercontent.com/u/15113527?v=4)](https://github.com/joffreydemetz "joffreydemetz (12 commits)")

---

Tags

favicon

### Embed Badge

![Health badge](/badges/jdz-favicon/health.svg)

```
[![Health](https://phpackages.com/badges/jdz-favicon/health.svg)](https://phpackages.com/packages/jdz-favicon)
```

###  Alternatives

[ashallendesign/favicon-fetcher

A Laravel package for fetching website's favicons.

190272.4k3](/packages/ashallendesign-favicon-fetcher)[stefanbauer/laravel-favicon-extractor

A favicon extractor for Laravel

10125.3k](/packages/stefanbauer-laravel-favicon-extractor)[rmrevin/yii2-favicon-widget

Favicon widget for Yii2

1564.4k](/packages/rmrevin-yii2-favicon-widget)[dmamontov/favicon

Class generation favicon for browsers and devices Android, Apple, Windows and display of html code. It supports a large number of settings such as margins, color, compression, three different methods of crop and screen orientation.

523.7k](/packages/dmamontov-favicon)[pxlrbt/filament-favicon

Favicon Column and Entry for Filament

203.8k](/packages/pxlrbt-filament-favicon)[moritzebeling/kirby-favicon

Kirby plugin to meet all favicon needs

144.8k](/packages/moritzebeling-kirby-favicon)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
