PHPackages                             yoya/io\_heif - 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. yoya/io\_heif

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

yoya/io\_heif
=============

HEIF library

3.0(1y ago)244MITPHPPHP &gt;=5.1.0

Since Oct 19Pushed 1y ago2 watchersCompare

[ Source](https://github.com/yoya/IO_HEIF)[ Packagist](https://packagist.org/packages/yoya/io_heif)[ Docs](http://pwiki.awm.jp/~yoya/?IO_HEIF)[ RSS](/packages/yoya-io-heif/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (19)Used By (0)

IO\_HEIF
========

[](#io_heif)

HEIF binary perser dumper, converter, powered by PHP. bidirectional converter with H.265/HEVC

install
=======

[](#install)

```
% composer require yoya/io_heif

```

require
=======

[](#require)

- IO\_Bit
- [https://github.com/yoya/IO\_Bit](https://github.com/yoya/IO_Bit)
- IO\_ISOBMFF
- [https://github.com/yoya/IO\_ISOBMFF](https://github.com/yoya/IO_ISOBMFF)
- IO\_HEVC
- [https://github.com/yoya/IO\_HEVC](https://github.com/yoya/IO_HEVC)

script (sample/\*.php)
----------------------

[](#script-samplephp)

- heifdump.php

```
% php vendor/yoya/io_heif/sample/heifdump.php -f input.heic
type:ftyp(offset:0 len:24):File Type and Compatibility
  major:mif1 minor:0  alt:mif1, heic
type:mdat(offset:24 len:139682):Media Data
  _mdatId:557184717
  _offsetRelative:8
  _itemID:1
type:meta(offset:139706 len:328):Information about items
  version:0 flags:0
    type:hdlr(offset:139718 len:53):Handler reference
      version:0 flags:0
      componentType:
      componentSubType:pict
(omit...)

```

- heiftree.php

```
% php vendor/yoya/io_heif/sample/heiftree.php -f input.heic
Props:
[1]: colr subtype:prof
[2]: hvcC profile:3 level:90 chroma:1
[3]: ispe width:512 height:512
(omit...)
Items:
[1]: dimg from:49 type:hvc1 method:0 ref:0 offset:28986 length:13529
[2]: dimg from:49 type:hvc1 method:0 ref:0 offset:42515 length:20507
(omit...)
[48]: dimg from:49 type:hvc1 method:0 ref:0 offset:804455 length:14580
[49]: pitm type:grid method:1 ref:0 offset:0 length:8
[50]: thmb from:49 type:hvc1 method:0 ref:0 offset:3995 length:22809
[51]: cdsc from:49 type:Exif method:0 ref:0 offset:26804 length:2182

```

- heiffromhevc.php

```
% php vendor/yoya/io_heif/sample/heiffromhevc.php -f input.hevc > output.heic

```

- heiftohevc.php

```
% php vendor/yoya/io_heif/sample/heiftohevc.php -f input.heic -r master xs> output.hevc
# iPhoneX depth map
% php sample/heiftohevc.php  -f IMG.HEIC -r aux -u urn:com:apple:photo:2018:aux:portraiteffectsmatte

```

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

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

Recently: every ~443 days

Total

18

Last Release

703d ago

Major Versions

1.11 → 2.02018-12-25

2.5 → 3.02024-06-05

### Community

Maintainers

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

---

Top Contributors

[![yoya](https://avatars.githubusercontent.com/u/26040?v=4)](https://github.com/yoya "yoya (145 commits)")

---

Tags

imageheif

### Embed Badge

![Health badge](/badges/yoya-io-heif/health.svg)

```
[![Health](https://phpackages.com/badges/yoya-io-heif/health.svg)](https://phpackages.com/packages/yoya-io-heif)
```

###  Alternatives

[intervention/image

PHP Image Processing

14.3k194.3M2.2k](/packages/intervention-image)[league/glide

Wonderfully easy on-demand image manipulation library with an HTTP based API.

2.6k51.2M116](/packages/league-glide)[liip/imagine-bundle

This bundle provides an image manipulation abstraction toolkit for Symfony-based projects.

1.7k38.3M216](/packages/liip-imagine-bundle)[spatie/image

Manipulate images with an expressive API

1.4k54.4M137](/packages/spatie-image)[intervention/image-laravel

Laravel Integration of Intervention Image

1496.5M100](/packages/intervention-image-laravel)[intervention/gif

PHP GIF Encoder/Decoder

5520.3M9](/packages/intervention-gif)

PHPackages © 2026

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