PHPackages                             mugenyi/m4rconverter - 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. mugenyi/m4rconverter

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

mugenyi/m4rconverter
====================

iphone audio ringtone converter MPEG4 audio,m4r converter

v1.1.3(8y ago)21051MITPHPPHP &gt;=5.5

Since Sep 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/mugenyi/m4rconverter)[ Packagist](https://packagist.org/packages/mugenyi/m4rconverter)[ RSS](/packages/mugenyi-m4rconverter/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (7)Dependencies (3)Versions (12)Used By (0)

m4rconverter
------------

[](#m4rconverter)

This is an iphone ringtone converter using php. Its a simplest way of creating ( .m4r ) format audio which is the recommended type for IOS product tones.

### installation

[](#installation)

This package uses **ffmpeg** and **ffprobe** libraries so make sure they are installed before you install it.

```
composer require mugenyi/m4rconverter

```

### basic usage

[](#basic-usage)

Provide the class with 2 values.

- Path to the file to be converted.
- Directory to save the converted file.

    ```
       $converter = new M4rconverter\Converter('tracks/avril.mp3','converted');
       $converter->convert();

    ```

### configuration

[](#configuration)

M4rconverter allows you to easily configure the underlying **FFmpeg** and **audio**.

- configure ffmpeg

    ```
      $converter->setFFMpegConfiguration([

      'ffmpeg.binaries'  => '/opt/local/ffmpeg/bin/ffmpeg',
      'ffprobe.binaries' => '/opt/local/ffmpeg/bin/ffprobe',
      'timeout'          => 3600, // The timeout for the underlying process
      'ffmpeg.threads'   => 12,   // The number of threads that FFMpeg should use
      ]);

    ```
- configure audio

    ```
      $converter->setAudioFormatConfiguration([
      'bitrate'  => 256, //AudioKiloBitrate
      'audioChannel' => 2,
      'duration'=>30 //time in seconds for the   output file
      'seek'=>30 //time in seconds to seek
      ]);

    ```

### special thanks

[](#special-thanks)

M4rconverter is built on top of [php-ffmpeg](https://github.com/PHP-FFMpeg/PHP-FFMpeg) package. **special thanks** to the team behind the project.

### Example apps

[](#example-apps)

[itunemachine.com](https://itunemachine.com/) uses this package to [make name ringtones](https://itunemachine.com/name-ringtone/maker)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

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

Recently: every ~80 days

Total

12

Last Release

3179d ago

Major Versions

v0.0.5 → v1.0.02016-11-29

PHP version history (2 changes)v0.0.1PHP &gt;=5.4

v0.0.4PHP &gt;=5.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12176558?v=4)[mugenyi henry](/maintainers/mugenyi)[@mugenyi](https://github.com/mugenyi)

---

Top Contributors

[![mugenyi](https://avatars.githubusercontent.com/u/12176558?v=4)](https://github.com/mugenyi "mugenyi (66 commits)")

---

Tags

audioiphoneiphone ringtonem4rMPEG4

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mugenyi-m4rconverter/health.svg)

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

###  Alternatives

[php-ffmpeg/php-ffmpeg

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

5.0k23.2M183](/packages/php-ffmpeg-php-ffmpeg)[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.4k885.1k22](/packages/danog-madelineproto)[codescale/ffmpeg-php

PHP wrapper for FFmpeg application

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

PHP wrapper for FFmpeg application

495236.3k1](/packages/char0n-ffmpeg-php)[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)

PHPackages © 2026

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