PHPackages                             xylphid/php-id3 - 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. xylphid/php-id3

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

xylphid/php-id3
===============

ID3 tag reader / writer

1.0.2(3y ago)44934proprietaryPHPPHP &gt;=8.0.0

Since Mar 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/xylphid/php-id3)[ Packagist](https://packagist.org/packages/xylphid/php-id3)[ RSS](/packages/xylphid-php-id3/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (0)

PHP-ID3
=======

[](#php-id3)

PHP-ID3 is a native php lib for ID3 tags

Compatibility
-------------

[](#compatibility)

PHP-ID3 is tested on the following PHP version :

- PHP 8.2

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

[](#installation)

```
composer install xylphid/php-id3
```

Usage
-----

[](#usage)

### PHP Script

[](#php-script)

Step by step extraction :

```
use Id3\Id3;

$media = '/path/to/media/file.mp3';
$id3 = new Id3Parser();
$id3->setFilename($media);
$id3->processFile();
```

Auto process :

```
$media = '/path/to/media/file.mp3';
$id3 = new Id3Parser($media);
```

Found tags are registered as object properties and named according to Id3 specifications. You can display tags with :

```
if ($id3->isCompliant()) {
    printf("Title : %s\n", $id3->getTitle());
    printf("Artist : %s\n", $id3->getArtist());
    printf("Album : %s\n", $id3->getAlbum());
    printf("Track : %s\n", $id3->getTrack());
    printf("PartOfSet : %s\n", $id3->getPartOfSet());
    printf("Genre : %s\n", $id3->getGenre());
    printf("Year : %s\n", $id3->getYear());
    printf("Duration : %s\n", $id3->getDuration())
}
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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

Total

2

Last Release

1197d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

mediaid3

### Embed Badge

![Health badge](/badges/xylphid-php-id3/health.svg)

```
[![Health](https://phpackages.com/badges/xylphid-php-id3/health.svg)](https://phpackages.com/packages/xylphid-php-id3)
```

###  Alternatives

[essence/essence

Extracts information about medias on the web, like youtube videos, twitter statuses or blog articles.

771583.8k3](/packages/essence-essence)[s9e/text-formatter

Multi-purpose text formatting and markup library. Plugins offer support for BBCodes, Markdown, emoticons, HTML, embedding third-party media (YouTube, etc...), enhanced typography and more.

2423.2M34](/packages/s9e-text-formatter)[wapmorgan/mp3info

The fastest php library to extract mp3 tags &amp; meta information.

1461.4M14](/packages/wapmorgan-mp3info)[dereuromark/media-embed

A PHP library to deal with all those media services around, parsing their URLs and embedding their audio/video content in websites.

177561.2k15](/packages/dereuromark-media-embed)[cohensive/embed

Media Embed (for Laravel or as a standalone).

117380.9k](/packages/cohensive-embed)[classic-o/nova-media-library

Tool and field that will let you managing files and add them to the posts

154177.4k](/packages/classic-o-nova-media-library)

PHPackages © 2026

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