Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duncan3dc/meta-audio
A PHP library to read and write metadata tags to audio files (MP3, ID3, APE, etc)
https://github.com/duncan3dc/meta-audio
ape id3v1 id3v2 mp3 php tagging
Last synced: 4 days ago
JSON representation
A PHP library to read and write metadata tags to audio files (MP3, ID3, APE, etc)
- Host: GitHub
- URL: https://github.com/duncan3dc/meta-audio
- Owner: duncan3dc
- License: apache-2.0
- Created: 2015-05-21T18:38:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-11-03T15:55:04.000Z (about 2 years ago)
- Last Synced: 2024-08-04T16:12:32.032Z (3 months ago)
- Topics: ape, id3v1, id3v2, mp3, php, tagging
- Language: PHP
- Size: 1000 KB
- Stars: 37
- Watchers: 5
- Forks: 8
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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 https://duncan3dc.github.io/meta-audio/
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://poser.pugx.org/duncan3dc/meta-audio/version.svg)](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://codecov.io/gh/duncan3dc/meta-audio/graph/badge.svg)](https://codecov.io/gh/duncan3dc/meta-audio)## Installation
Using [composer](https://packagist.org/packages/duncan3dc/meta-audio):
```bash
$ composer require duncan3dc/meta-audio
```## Quick Example
```php
$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 http://duncan3dc.github.io/meta-audio/_
## Changelog
A [Changelog](CHANGELOG.md) has been available since the beginning of time## 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
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)