PHPackages                             duncan3dc/meta-audio - 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. duncan3dc/meta-audio

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

duncan3dc/meta-audio
====================

A library to read and write metadata tags to audio files

0.6.0(5y ago)353.4k8[1 issues](https://github.com/duncan3dc/meta-audio/issues)[2 PRs](https://github.com/duncan3dc/meta-audio/pulls)Apache-2.0PHPPHP ^7.2 || ^8.0CI passing

Since Sep 26Pushed 4mo ago4 watchersCompare

[ Source](https://github.com/duncan3dc/meta-audio)[ Packagist](https://packagist.org/packages/duncan3dc/meta-audio)[ Docs](https://github.com/duncan3dc/meta-audio)[ RSS](/packages/duncan3dc-meta-audio/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (7)Versions (15)Used By (0)

meta-audio
==========

[](#meta-audio)

A PHP library to read and write metadata tags to audio files (MP3, ID3, APE, etc)

**WARNING: This library is still very much experimental, and will likely corrupt your beloved audio files, use with caution (and backups)**

Full documentation is available at
PHPDoc API documentation is also available at [https://duncan3dc.github.io/meta-audio/api/](https://duncan3dc.github.io/meta-audio/api/namespaces/duncan3dc.MetaAudio.html)

[![release](https://camo.githubusercontent.com/ef59dfd62c42b6689eb8df0ef5cb2f5fa8773584cd93b859bb9f0de63387c8bb/68747470733a2f2f706f7365722e707567782e6f72672f64756e63616e3364632f6d6574612d617564696f2f76657273696f6e2e737667)](https://packagist.org/packages/duncan3dc/meta-audio)[![build](https://github.com/duncan3dc/meta-audio/workflows/.github/workflows/buildcheck.yml/badge.svg?branch=master)](https://github.com/duncan3dc/meta-audio/actions?query=branch%3Amaster+workflow%3A.github%2Fworkflows%2Fbuildcheck.yml)[![coverage](https://camo.githubusercontent.com/9b7970daeb23183df52c528faa6821f72d4397ae692e7886241b71b8efdba199/68747470733a2f2f636f6465636f762e696f2f67682f64756e63616e3364632f6d6574612d617564696f2f67726170682f62616467652e737667)](https://codecov.io/gh/duncan3dc/meta-audio)

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

[](#installation)

Using [composer](https://packagist.org/packages/duncan3dc/meta-audio):

```
$ composer require duncan3dc/meta-audio
```

Quick Example
-------------

[](#quick-example)

```
$tagger = new \duncan3dc\MetaAudio\Tagger;
$tagger->addDefaultModules();

$mp3 = $tagger->open("/var/music/song.mp3");

echo "Artist: {$mp3->getArtist()}\n";
echo "Album: {$mp3->getAlbum()}\n";
echo "Year: {$mp3->getYear()}\n";
echo "Track No: {$mp3->getTrackNumber()}\n";
echo "Title: {$mp3->getTitle()}\n";
```

*Read more at *

Changelog
---------

[](#changelog)

A [Changelog](CHANGELOG.md) has been available since the beginning of time

Where to get help
-----------------

[](#where-to-get-help)

Found a bug? Got a question? Just not sure how something works?
Please [create an issue](//github.com/duncan3dc/meta-audio/issues) and I'll do my best to help out.
Alternatively you can catch me on [Twitter](https://twitter.com/duncan3dc)

duncan3dc/meta-audio for enterprise
-----------------------------------

[](#duncan3dcmeta-audio-for-enterprise)

Available as part of the Tidelift Subscription

The maintainers of duncan3dc/meta-audio and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-duncan3dc-meta-audio?utm_source=packagist-duncan3dc-meta-audio&utm_medium=referral&utm_campaign=readme)

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance51

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 93.9% 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 ~386 days

Recently: every ~419 days

Total

6

Last Release

1954d ago

PHP version history (4 changes)0.1.0PHP &gt;=5.6.0

0.3.0PHP ^5.6|^7.0

0.5.0PHP ^7.2

0.6.0PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/11dc66042513f11d1c99b1e6763f25dca84a3ff31cdbea3972b9b804a3d3d5e9?d=identicon)[duncan3dc](/maintainers/duncan3dc)

---

Top Contributors

[![duncan3dc](https://avatars.githubusercontent.com/u/546811?v=4)](https://github.com/duncan3dc "duncan3dc (92 commits)")[![Gemorroj](https://avatars.githubusercontent.com/u/885731?v=4)](https://github.com/Gemorroj "Gemorroj (5 commits)")[![DirkR](https://avatars.githubusercontent.com/u/113939?v=4)](https://github.com/DirkR "DirkR (1 commits)")

---

Tags

apeid3v1id3v2mp3phptaggingmetadataaudioid3id3v1id3v2MPGapetagapev1apev2

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/duncan3dc-meta-audio/health.svg)

```
[![Health](https://phpackages.com/badges/duncan3dc-meta-audio/health.svg)](https://phpackages.com/packages/duncan3dc-meta-audio)
```

###  Alternatives

[wapmorgan/mp3info

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

1481.4M7](/packages/wapmorgan-mp3info)[php-ffmpeg/php-ffmpeg

FFMpeg PHP, an Object Oriented library to communicate with AVconv / ffmpeg

5.0k21.7M165](/packages/php-ffmpeg-php-ffmpeg)[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.4k855.0k18](/packages/danog-madelineproto)[kiwilan/php-audio

PHP package to parse and update audio files metadata, with `JamesHeinrich/getID3`.

3012.6k1](/packages/kiwilan-php-audio)[codescale/ffmpeg-php

PHP wrapper for FFmpeg application

495270.5k1](/packages/codescale-ffmpeg-php)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)

PHPackages © 2026

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