PHPackages                             pxlrbt/filament-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. pxlrbt/filament-favicon

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

pxlrbt/filament-favicon
=======================

Favicon Column and Entry for Filament

v1.2.0(4mo ago)203.8k↓25%4MITPHPPHP ^8.0CI passing

Since Nov 30Pushed 4mo agoCompare

[ Source](https://github.com/pxlrbt/filament-favicon)[ Packagist](https://packagist.org/packages/pxlrbt/filament-favicon)[ GitHub Sponsors](https://github.com/pxlrbt)[ RSS](/packages/pxlrbt-filament-favicon/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

[![header](./.github/resources/pxlrbt-favicon.png)](./.github/resources/pxlrbt-favicon.png)

Filament Favicon
================

[](#filament-favicon)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8e923815ad83fc1a5a0d55da0006aa8c3232d46580baca287533878406a7d644/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70786c7262742f66696c616d656e742d66617669636f6e2e7376673f696e636c7564655f70726572656c6561736573)](https://packagist.org/packages/pxlrbt/filament-favicon)[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE.md)[![GitHub Workflow Status](https://camo.githubusercontent.com/39b0c7125e024d70cb7e893f93ea3ad765144b5a8a7ce3f16727239fec547930/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70786c7262742f66696c616d656e742d66617669636f6e2f636f64652d7374796c652e796d6c3f6272616e63683d6d61696e266c6162656c3d436f64652532307374796c65267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/39b0c7125e024d70cb7e893f93ea3ad765144b5a8a7ce3f16727239fec547930/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70786c7262742f66696c616d656e742d66617669636f6e2f636f64652d7374796c652e796d6c3f6272616e63683d6d61696e266c6162656c3d436f64652532307374796c65267374796c653d666c61742d737175617265)[![Total Downloads](https://camo.githubusercontent.com/3d5850c6dfc4422621d8af79a11cc0e7025688b0aac664aacf14e53ea8236b46/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70786c7262742f66696c616d656e742d66617669636f6e2e737667)](https://packagist.org/packages/pxlrbt/filament-favicon)

Installation via Composer
-------------------------

[](#installation-via-composer)

```
composer require pxlrbt/filament-favicon
```

Features
--------

[](#features)

### FaviconColumn

[](#faviconcolumn)

Display website favicons in your Filament table columns:

```
use pxlrbt\FilamentFavicon\Filament\FaviconColumn;

FaviconColumn::make('website')
```

The column automatically fetches and caches favicons based on the domain value. The state must be a domain name (e.g., `example.com`).

If you need to extract the domain from a URL, use the `state()` method:

```
FaviconColumn::make('website')
    ->state(fn ($record) => parse_url($record->website, PHP_URL_HOST))
```

### FaviconEntry

[](#faviconentry)

Display website favicons in your Filament infolists:

```
use pxlrbt\FilamentFavicon\Filament\FaviconEntry;

FaviconEntry::make('website')
```

The entry automatically fetches and caches favicons based on the domain value. The state must be a domain name (e.g., `example.com`).

If you need to extract the domain from a URL, use the `state()` method:

```
FaviconEntry::make('website')
    ->state(fn ($record) => parse_url($record->website, PHP_URL_HOST))
```

### Configuration

[](#configuration)

Publish the config file:

```
php artisan vendor:publish --tag=filament-favicon-config
```

Available options:

```
return [
    // Favicon fetcher service (DuckDuckGo or IconHorse)
    'diver' => \pxlrbt\FilamentFavicon\Drivers\IconHorse::class,

    // How long to keep favicons before re-fetching
    'stale_after' => CarbonInterval::week(1),

    // Storage configuration
    'storage' => [
        'disk' => 'public',
        'directory' => 'favicons',
    ],
];
```

### Favicon Drivers

[](#favicon-drivers)

This package includes two favicon drivers:

**IconHorse** (default)

- Dedicated favicon service with enhanced reliability
- Free tier: up to 1,000 lookups per month
- Paid plans available for higher volumes
- Class: `\pxlrbt\FilamentFavicon\Drivers\IconHorse::class`

**DuckDuckGo**

- Uses DuckDuckGo's search engine index to fetch favicons
- No rate limits or usage restrictions
- Free and unlimited
- Class: `\pxlrbt\FilamentFavicon\Drivers\DuckDuckGo::class`

To switch drivers, update the `driver` option in your config file.

### Clear Favicons

[](#clear-favicons)

Clear all cached favicons:

```
php artisan favicons:clear
```

Contributing
------------

[](#contributing)

If you want to contribute to this packages, you may want to test it in a real Filament project:

- Fork this repository to your GitHub account.
- Create a Filament app locally.
- Clone your fork in your Filament app's root directory.
- In the `/filament-favicon` directory, create a branch for your fix, e.g. `fix/error-message`.

Install the packages in your app's `composer.json`:

```
"require": {
    "pxlrbt/filament-favicon": "dev-fix/error-message as main-dev",
},
"repositories": [
    {
        "type": "path",
        "url": "filament-favicon"
    }
]
```

Now, run `composer update`.

Credits
-------

[](#credits)

- [Dennis Koch](https://github.com/pxlrbt)
- [All Contributors](../../contributors)

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance78

Regular maintenance activity

Popularity34

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

Total

3

Last Release

122d ago

### Community

Maintainers

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

---

Top Contributors

[![pxlrbt](https://avatars.githubusercontent.com/u/22632550?v=4)](https://github.com/pxlrbt "pxlrbt (15 commits)")

---

Tags

faviconfilamentphplarvellaravelfaviconfilament

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[pboivin/filament-peek

Full-screen page preview modal for Filament

253319.6k12](/packages/pboivin-filament-peek)[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124139.3k2](/packages/dotswan-filament-map-picker)[creagia/filament-code-field

A Filamentphp input field to edit or view code data.

58289.3k3](/packages/creagia-filament-code-field)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)[aymanalhattami/filament-context-menu

context menu (right click menu) for filament

9838.0k](/packages/aymanalhattami-filament-context-menu)[tapp/filament-google-autocomplete-field

Filament plugin that provides a Google Autocomplete field

3098.1k](/packages/tapp-filament-google-autocomplete-field)

PHPackages © 2026

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