PHPackages                             akiosarkiz/mp3php - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. akiosarkiz/mp3php

ActiveLibrary[File &amp; Storage](/categories/file-storage)

akiosarkiz/mp3php
=================

Package for manipulation mp3 files in php

1.2.0(5y ago)0598MITPHPPHP ^7.4|^8.0

Since Sep 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/AkioSarkiz/php-mp3)[ Packagist](https://packagist.org/packages/akiosarkiz/mp3php)[ RSS](/packages/akiosarkiz-mp3php/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

MP3 PHP
=======

[](#mp3-php)

[![Build Status](https://camo.githubusercontent.com/0b936b1ce08f33fd11812497abdc67deec90aeb18f9a6046dc75cc98dd7c912f/68747470733a2f2f7472617669732d63692e6f72672f416b696f5361726b697a2f7068702d6d70332e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/AkioSarkiz/php-mp3)

Package for manipulation mp3 files in php.

### Requires

[](#requires)

- Php &gt;= 7.4
- FFmpeg
- Support platform: linux

### Example

[](#example)

```
use AkioSarkiz\Mp3Php\Mp3;

// create object
$mp3item = new Mp3('source.mp3');

// check is valid
$mp3item->isValid();

// get duration of mp3
$mp3item->getDuration();

// add meta
$mp3item->addMeta([
    'album' => 'custom album',
], 'source_with_meta.mp3');

// clear meta
$mp3item->clearMeta('source_clear.mp3');

// get all info
$mp3item->getInfo();

// get path
$mp3item->getPath();

// get size mp3
$mp3item->size();

// get kbs of mp3
$mp3item->getKbs();

// convert mp3 to your kbs
$mp3item->convert('source_64.mp3', 64);
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Total

4

Last Release

1896d ago

PHP version history (2 changes)1.0.0PHP ^7.4

1.1.1PHP ^7.4|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/42392852?v=4)[Dmytro Laptiev](/maintainers/akiosarkiz)[@AkioSarkiz](https://github.com/AkioSarkiz)

---

Top Contributors

[![AkioSarkiz](https://avatars.githubusercontent.com/u/42392852?v=4)](https://github.com/AkioSarkiz "AkioSarkiz (32 commits)")

---

Tags

mp3php74php80

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/akiosarkiz-mp3php/health.svg)

```
[![Health](https://phpackages.com/badges/akiosarkiz-mp3php/health.svg)](https://phpackages.com/packages/akiosarkiz-mp3php)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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