PHPackages                             konradmichalik/php-ico-file-loader - 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. [Image &amp; Media](/categories/media)
4. /
5. konradmichalik/php-ico-file-loader

ActiveLibrary[Image &amp; Media](/categories/media)

konradmichalik/php-ico-file-loader
==================================

Powerful PHP package for reading and converting .ico files, perfect for handling website favicons

0.2.0(5mo ago)18.3k↓15%1MITPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Oct 23Pushed 3mo agoCompare

[ Source](https://github.com/konradmichalik/php-ico-file-loader)[ Packagist](https://packagist.org/packages/konradmichalik/php-ico-file-loader)[ RSS](/packages/konradmichalik-php-ico-file-loader/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (9)Versions (6)Used By (1)

Php Ico File Loader
===================

[](#php-ico-file-loader)

[![Coverage](https://camo.githubusercontent.com/bfb761e41f2a21d668cd0d49f0cca0bf559d5b8cecebb4e6c01b90c19a02366a/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c73436f7665726167652f6769746875622f6b6f6e7261646d696368616c696b2f7068702d69636f2d66696c652d6c6f616465723f6c6f676f3d636f766572616c6c73)](https://coveralls.io/github/konradmichalik/php-ico-file-loader)[![CGL](https://camo.githubusercontent.com/c50bbf14d48c1788d34e0881e0162c17330d7f03aefc435552ac5e83d63d36ab/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6b6f6e7261646d696368616c696b2f7068702d69636f2d66696c652d6c6f616465722f63676c2e796d6c3f6c6162656c3d63676c266c6f676f3d676974687562)](https://github.com/konradmichalik/php-ico-file-loader/actions/workflows/cgl.yml)[![Tests](https://camo.githubusercontent.com/d225376a8f80140cbadb80b3072301749164115fc97912fa0953e2099dd2a9e5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6b6f6e7261646d696368616c696b2f7068702d69636f2d66696c652d6c6f616465722f74657374732e796d6c3f6c6162656c3d7465737473266c6f676f3d676974687562)](https://github.com/konradmichalik/php-ico-file-loader/actions/workflows/tests.yml)[![Supported PHP Versions](https://camo.githubusercontent.com/823be0ae1a370aab2c4066c46f970a290bb5796ec3590ecce494cda6222314e2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6b6f6e7261646d696368616c696b2f7068702d69636f2d66696c652d6c6f616465722f7068703f6c6f676f3d706870)](https://packagist.org/packages/konradmichalik/php-ico-file-loader)

This package enables loading and converting `.ico` files within PHP applications. It requires no dependencies except for [gd](http://php.net/manual/en/book.image.php) for image rendering.

🔥 Installation
--------------

[](#-installation)

[![Packagist](https://camo.githubusercontent.com/54a5f671eed457c343e0dfbbb397b7cc167dd275be892ab51cbb85cf3e3396fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6f6e7261646d696368616c696b2f7068702d69636f2d66696c652d6c6f616465723f6c6162656c3d76657273696f6e266c6f676f3d7061636b6167697374)](https://packagist.org/packages/konradmichalik/php-ico-file-loader)[![Packagist Downloads](https://camo.githubusercontent.com/7fe05e0d19d8c1b984e79c90b33c901adb66e8d862fb6e72c4deaa2f2792fb64/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6f6e7261646d696368616c696b2f7068702d69636f2d66696c652d6c6f616465723f636f6c6f723d627269676874677265656e)](https://packagist.org/packages/konradmichalik/php-ico-file-loader)

```
composer require konradmichalik/php-ico-file-loader
```

⚡ Usage
-------

[](#-usage)

```
$loader = new KonradMichalik\PhpIcoFileLoeader\Parser\IcoFileService;
$im = $loader->extractIcon('/path/to/icon.ico', 32, 32);

imagepng($im, '/path/to/output.png');
```

💛 Acknowledgements
------------------

[](#-acknowledgements)

This project is a fork and further development of [`lordelph/icofileloader`](https://github.com/lordelph/icofileloader).

🧑‍💻 Contributing
----------------

[](#‍-contributing)

Please have a look at [`CONTRIBUTING.md`](CONTRIBUTING.md).

⭐ License
---------

[](#-license)

This project is licensed under [MIT](LICENSE).

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance78

Regular maintenance activity

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.2% 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 ~49 days

Total

2

Last Release

158d ago

PHP version history (2 changes)0.1.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

0.2.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/11557705846f24da32a0e6e75c460db505c1b847f081ddaa3d27f3ea27f4097b?d=identicon)[konradmichalik](/maintainers/konradmichalik)

---

Top Contributors

[![lordelph](https://avatars.githubusercontent.com/u/444004?v=4)](https://github.com/lordelph "lordelph (78 commits)")[![konradmichalik](https://avatars.githubusercontent.com/u/4558190?v=4)](https://github.com/konradmichalik "konradmichalik (20 commits)")[![jtojnar](https://avatars.githubusercontent.com/u/705123?v=4)](https://github.com/jtojnar "jtojnar (2 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

icoico-filesphpconvertextractfaviconiconloadico

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/konradmichalik-php-ico-file-loader/health.svg)

```
[![Health](https://phpackages.com/badges/konradmichalik-php-ico-file-loader/health.svg)](https://phpackages.com/packages/konradmichalik-php-ico-file-loader)
```

###  Alternatives

[lordelph/icofileloader

High quality PHP package for reading and converting any .ico icon file, particularly website favicons

41131.2k](/packages/lordelph-icofileloader)[league/color-extractor

Extract colors from an image as a human would do.

1.3k4.7M18](/packages/league-color-extractor)[chrisjean/php-ico

An easy-to-use library to generate valid ICO files.

229638.1k6](/packages/chrisjean-php-ico)[h4cc/wkhtmltoimage-amd64

Convert html to image using webkit (qtwebkit). Static linked linux binary for amd64 systems.

20110.7M15](/packages/h4cc-wkhtmltoimage-amd64)[jkphl/iconizr

A PHP command line tool for converting SVG images to a set of CSS icons (SVG &amp; PNG, single icons and / or CSS sprites) with support for image optimization and Sass output

4869.0k](/packages/jkphl-iconizr)[h4cc/wkhtmltoimage-i386

Convert html to image using webkit (qtwebkit). Static linked linux binary for i386 systems.

33656.3k5](/packages/h4cc-wkhtmltoimage-i386)

PHPackages © 2026

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