PHPackages                             b-b3rn4rd/phplame - 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. b-b3rn4rd/phplame

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

b-b3rn4rd/phplame
=================

PHP wrapper for LAME (MP3 encoder)

1724.1k11[2 issues](https://github.com/b-b3rn4rd/phplame/issues)PHP

Since Dec 23Pushed 11y ago4 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

PHP LAME
========

[](#php-lame)

[![Build Status](https://camo.githubusercontent.com/f8515161921ff34455b6c514ebb907324d020f1b4083b8056c0d95a43948fcaa/68747470733a2f2f7472617669732d63692e6f72672f622d6233726e3472642f7068706c616d652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/b-b3rn4rd/phplame)[![Coverage Status](https://camo.githubusercontent.com/f11c6fa6bad445df737fbbdaa167e7190d73c4a09765f9cd15d2d5937ffc418f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f622d6233726e3472642f7068706c616d652f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/b-b3rn4rd/phplame?branch=master)

PHP LAME is a php wrapper for [LAME](http://lame.sourceforge.net/about.php) MP3 encoder. It provides convenient interface to encode wav file(s) into mp3.

**In order to use this library you will need to download &amp; install LAME. Read [here](http://wiki.audacityteam.org/wiki/Lame_Installation#GNU.2FLinux.2FUnix_instructions) how to install it.**

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

[](#installation)

---

Install PHP LAME wrapper using Composer:

```
{
    "require": {
        "b-b3rn4rd/phplame": "dev-master"
    }
}
```

\##Usage examples
-----------------

[](#usage-examples)

#### Encode single file using preset settings

[](#encode-single-file-using-preset-settings)

```
