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

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

nerd4ever/php-id3
=================

ID3 tag reader / writer

1.0.2(2y ago)080proprietaryPHPPHP &gt;=8.0.0

Since Feb 12Pushed 2y agoCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP-ID3
=======

[](#php-id3)

PHP-ID3 is a native php lib for ID3 tags

About This Project
------------------

[](#about-this-project)

This project is a fork created with the specific purpose of preserving the immutability of the library's code after its official homologation. The creation of this fork serves as a security measure to ensure that, regardless of future updates or changes in the original library, a stable and approved version remains accessible for reference and use.

It is important to highlight that this fork is a direct replica of the main library at the time of its official approval. Therefore, we do not plan to actively make updates or modifications to this repository. The purpose of this fork is purely conservational, ensuring that users can always access the version of the library that was officially approved and validated for use.

Recommendation to Users
-----------------------

[](#recommendation-to-users)

We strongly encourage all users and developers interested in the library to use the original version, made available by the creator of the library. Opting for the main library ensures access to the most recent updates, security improvements, bug fixes, and new features that are regularly implemented by the original developer.

To use the original library, please redirect to the repository of the library's creator. There, you will find all necessary documentation, installation guides, and support to ensure a successful implementation of the library in your projects.

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

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.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

Unknown

Total

1

Last Release

824d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d205c8624c0f8e9a358d99d746d654030cc2ede6248b15d4afef16b5faf4545?d=identicon)[nerd4ever](/maintainers/nerd4ever)

---

Top Contributors

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

---

Tags

mediaid3

### Embed Badge

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

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

###  Alternatives

[essence/essence

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

770562.9k3](/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.

2413.1M29](/packages/s9e-text-formatter)[wapmorgan/mp3info

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

1481.4M7](/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.

182530.3k11](/packages/dereuromark-media-embed)[cohensive/embed

Media Embed (for Laravel or as a standalone).

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

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

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

PHPackages © 2026

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