PHPackages                             ivoba/favicon-fetcher - 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. ivoba/favicon-fetcher

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

ivoba/favicon-fetcher
=====================

Favicon Fetcher

1.1.2(11y ago)21.7k[1 issues](https://github.com/ivoba/favicon-fetcher/issues)MITPHPPHP &gt;=5.4

Since Nov 10Pushed 11y ago1 watchersCompare

[ Source](https://github.com/ivoba/favicon-fetcher)[ Packagist](https://packagist.org/packages/ivoba/favicon-fetcher)[ Docs](https://github.com/ivoba/favicon-fetcher)[ RSS](/packages/ivoba-favicon-fetcher/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (3)Versions (5)Used By (0)

Favicon Fetcher
===============

[](#favicon-fetcher)

Lib to fetch Favicon from a url and store it as PNG. Its highly flexible. You can use your own Fetchers or FileNamerResolvers. So it would also be possible to store it as gif, jpg or whatever.

[![Build Status](https://camo.githubusercontent.com/7d20ae1d2b1bf887520c180ae162a5abbeaf5837b5c994bc79be235dc15d5526/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f69766f62612f66617669636f6e2d666574636865722e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/ivoba/favicon-fetcher)[![Dependency Status](https://camo.githubusercontent.com/4151ff7fe87e82cafcd11f7972db26e1b3bc8d9e912e8c68cef664abd2f376df/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f69766f62613a66617669636f6e2d666574636865722f6d61737465722f62616467652e706e67)](https://www.versioneye.com/php/ivoba:favicon-fetcher/master)[![Latest Version](https://camo.githubusercontent.com/854286bdfc838ad28b7f43fe3a4e7600a7a92bd6c06924d508b05285c79163dc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f69766f62612f66617669636f6e2d666574636865722e7376673f7374796c653d666c61742d737175617265)](https://github.com/ivoba/favicon-fetcher/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Coverage Status](https://camo.githubusercontent.com/f37a1839ccd328dfd324b84f3a3521d6766dd61e34ec6c47dd7b47672eba1513/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f69766f62612f66617669636f6e2d666574636865722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ivoba/favicon-fetcher/code-structure)[![Quality Score](https://camo.githubusercontent.com/7443202a3c07d0db0e313d653d62fce99bbe66f562bfe1fefdb94dd1e312c6ca/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f69766f62612f66617669636f6e2d666574636865722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ivoba/favicon-fetcher)[![Total Downloads](https://camo.githubusercontent.com/fa954c54241bd0f69319d3fdc702bead7f7af42208f7818fcdb2a0293d81c716/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69766f62612f66617669636f6e2d666574636865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ivoba/favicon-fetcher)

Installation
------------

[](#installation)

Via composer:

Add: `php composer require ivoba/favicon-fetcher:~1.0`

And update it `php composer update ivoba/favicon-fetcher`

Usage
-----

[](#usage)

Use the static factory method to create the Fetcher with default settings:

```
$fetcher = \Ivoba\FaviconFetcher\FaviconFetcher::create();

```

The default settings are:

- stores pngs in/tmp
- uses DomainFileNameResolver, which creates a filename based on the domain: github.com =&gt; github.com.png
- trys to fetch favicon by different webservices in this order:
    1. Google web service
    2.  (can be broken at times)
    3. Default Image
- if Google service doesnt deliver a converted png already, we create it ourselves via imagemagick on commandline

All components are exchangable via interfaces for custom requirements.

Demo
----

[](#demo)

```
cd fetcher-dir
php -S localhost:8080

```

type in your browser:

```
http://localhost:8080/demo.php?favicon=facebook.com;twitter.com;unfuddle.com;packagist.org

```

You will see all favicons as png images.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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 ~48 days

Total

4

Last Release

4110d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a281e7f725fbe1ea8de5835c34e19c649afe33c2a1fbf48188ccff1274165fb1?d=identicon)[ivoba](/maintainers/ivoba)

---

Top Contributors

[![ivoba](https://avatars.githubusercontent.com/u/471254?v=4)](https://github.com/ivoba "ivoba (11 commits)")

---

Tags

faviconscrappergrabberfetcher

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[ashallendesign/favicon-fetcher

A Laravel package for fetching website's favicons.

190305.7k3](/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

1566.1k](/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.

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

Favicon Column and Entry for Filament

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

Kirby plugin to meet all favicon needs

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

PHPackages © 2026

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