PHPackages                             blockpoint/laravel-favicon-generator - 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. blockpoint/laravel-favicon-generator

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

blockpoint/laravel-favicon-generator
====================================

Package to generate favicons within your Laravel application.

1.1.1(1y ago)02.8k↓78.7%[4 PRs](https://github.com/Blockpoint/laravel-favicon-generator/pulls)MITPHPPHP ^8.1CI passing

Since May 11Pushed 2mo agoCompare

[ Source](https://github.com/Blockpoint/laravel-favicon-generator)[ Packagist](https://packagist.org/packages/blockpoint/laravel-favicon-generator)[ Docs](https://github.com/blockpoint/laravel-favicon-generator)[ GitHub Sponsors](https://github.com/:vendor_name)[ RSS](/packages/blockpoint-laravel-favicon-generator/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (3)Dependencies (13)Versions (9)Used By (0)

Laravel Favicon Generator
=========================

[](#laravel-favicon-generator)

[![Latest Version on Packagist](https://camo.githubusercontent.com/53b60d6a17c6f316b903dc63af6296a13b3c4e76d93b90df59b329913b159d8d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626c6f636b706f696e742f6c61726176656c2d66617669636f6e2d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/blockpoint/laravel-favicon-generator)[![GitHub Tests Action Status](https://camo.githubusercontent.com/b3435eb9d8575354829b74a061c717c83c89c43eafde8959b33e15b97b68ab25/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f626c6f636b706f696e742f6c61726176656c2d66617669636f6e2d67656e657261746f722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/blockpoint/laravel-favicon-generator/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/78f89436c2d9039e3807424f58519b73ca6cd04d47f5ec816a00cfda66a3c5e4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f626c6f636b706f696e742f6c61726176656c2d66617669636f6e2d67656e657261746f722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/blockpoint/laravel-favicon-generator/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/87c323d0e60fd2d0f5f19eb784a83b20961e216c82d60115c3bb5649badb5b3c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626c6f636b706f696e742f6c61726176656c2d66617669636f6e2d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/blockpoint/laravel-favicon-generator)

A Laravel package to generate and manage high-quality favicons for your web application. This package provides two main features:

1. A generator to create all necessary favicon files from a single source image with optimal quality
2. A Blade component to easily include the favicon meta tags in your HTML

### Features

[](#features)

- Generates high-quality PNG icons using Imagick when available (with GD fallback)
- Creates favicon.ico, favicon-96x96.png, favicon.svg, apple-touch-icon-180x180.png
- Generates web app manifest icons (192x192 and 512x512)
- Creates site.webmanifest file
- Generates SVG favicon from any source image format
- Maintains aspect ratio while ensuring exact dimensions

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

[](#installation)

You can install the package via composer:

```
composer require blockpoint/laravel-favicon-generator
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-favicon-generator-config"
```

Optionally, you can publish the views using:

```
php artisan vendor:publish --tag="laravel-favicon-generator-views"
```

Usage
-----

[](#usage)

### Generating Favicons

[](#generating-favicons)

To generate favicons from a source image, use the provided Artisan command:

```
php artisan favicon:generate {path/to/your/source/image.png}
```

This will generate the following favicon files in your public/favicon directory:

- favicon.ico for general browser support
- favicon-96x96.png for higher-resolution displays
- favicon.svg for scalable, high-quality vector images (if source is SVG)
- apple-touch-icon.png for iOS devices
- web-app-manifest-192x192.png and web-app-manifest-512x512.png for Progressive Web Apps
- site.webmanifest for PWA configuration

### Using the Blade Component

[](#using-the-blade-component)

To include the favicon meta tags in your HTML, add the following component to your layout file:

```

```

This will output the necessary meta tags for all generated favicons:

```

```

The component will automatically use the application name from your web manifest file or fall back to your Laravel app name configuration.

### Programmatic Usage

[](#programmatic-usage)

You can also generate favicons programmatically:

```
use Blockpoint\LaravelFaviconGenerator\LaravelFaviconGenerator;

$generator = new LaravelFaviconGenerator();
$generatedFiles = $generator->generate('path/to/your/source/image.png');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance68

Regular maintenance activity

Popularity21

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 59.5% 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 ~0 days

Total

3

Last Release

419d ago

### Community

Maintainers

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

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (368 commits)")[![mvdnbrk](https://avatars.githubusercontent.com/u/802681?v=4)](https://github.com/mvdnbrk "mvdnbrk (46 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (26 commits)")[![Nielsvanpach](https://avatars.githubusercontent.com/u/10651054?v=4)](https://github.com/Nielsvanpach "Nielsvanpach (23 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (20 commits)")[![pforret](https://avatars.githubusercontent.com/u/474312?v=4)](https://github.com/pforret "pforret (16 commits)")[![sebastiandedeyne](https://avatars.githubusercontent.com/u/1561079?v=4)](https://github.com/sebastiandedeyne "sebastiandedeyne (14 commits)")[![Stijnbak](https://avatars.githubusercontent.com/u/24252568?v=4)](https://github.com/Stijnbak "Stijnbak (11 commits)")[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (10 commits)")[![patinthehat](https://avatars.githubusercontent.com/u/5508707?v=4)](https://github.com/patinthehat "patinthehat (10 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (8 commits)")[![crynobone](https://avatars.githubusercontent.com/u/172966?v=4)](https://github.com/crynobone "crynobone (8 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (7 commits)")[![irfanm96](https://avatars.githubusercontent.com/u/42065936?v=4)](https://github.com/irfanm96 "irfanm96 (5 commits)")[![thecaliskan](https://avatars.githubusercontent.com/u/13554944?v=4)](https://github.com/thecaliskan "thecaliskan (5 commits)")[![IGedeon](https://avatars.githubusercontent.com/u/694313?v=4)](https://github.com/IGedeon "IGedeon (4 commits)")[![abenerd](https://avatars.githubusercontent.com/u/7523903?v=4)](https://github.com/abenerd "abenerd (3 commits)")[![jessarcher](https://avatars.githubusercontent.com/u/4977161?v=4)](https://github.com/jessarcher "jessarcher (3 commits)")[![koossaayy](https://avatars.githubusercontent.com/u/6431084?v=4)](https://github.com/koossaayy "koossaayy (3 commits)")[![lloricode](https://avatars.githubusercontent.com/u/8251344?v=4)](https://github.com/lloricode "lloricode (3 commits)")

---

Tags

laravelBlockpointlaravel-favicon-generator

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/blockpoint-laravel-favicon-generator/health.svg)

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

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[danihidayatx/image-optimizer

Optimize your Filament images before they reach your database. Forked from joshembling/image-optimizer for Filament v4 &amp; v5 support.

3218.1k](/packages/danihidayatx-image-optimizer)

PHPackages © 2026

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