PHPackages                             muxinc/mux-php - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. muxinc/mux-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

muxinc/mux-php
==============

Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before.

5.1.0(9mo ago)522.2M↓32.8%29[19 issues](https://github.com/muxinc/mux-php/issues)[7 PRs](https://github.com/muxinc/mux-php/pulls)10MITPHPPHP &gt;=7.4.0CI passing

Since Jun 11Pushed 9mo ago34 watchersCompare

[ Source](https://github.com/muxinc/mux-php)[ Packagist](https://packagist.org/packages/muxinc/mux-php)[ Docs](https://mux.com)[ RSS](/packages/muxinc-mux-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (3)Versions (72)Used By (10)

[![Mux PHP Banner](https://camo.githubusercontent.com/50333d1afb0fb5ce494eb53c84df5e965c99d51c7dfcda79ca8f17a2719bf8ee/68747470733a2f2f62616e6e65722e6d75782e6465762f3f696d6167653d706870)](https://camo.githubusercontent.com/50333d1afb0fb5ce494eb53c84df5e965c99d51c7dfcda79ca8f17a2719bf8ee/68747470733a2f2f62616e6e65722e6d75782e6465762f3f696d6167653d706870)

 [![](https://camo.githubusercontent.com/6c18f370eb88cd7d033346fc3c9c5b576b1bb64730d1136ce0f137953a888883/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d7578696e632f6d75782d706870 "Packagist")](https://packagist.org/packages/muxinc/mux-php) [![](https://github.com/muxinc/mux-php/workflows/Integration%20Test/badge.svg "CI")](https://github.com/muxinc/mux-php/workflows/Integration%20Test)

 [Packagist](https://packagist.org/packages/muxinc/mux-php) | [Mux Docs](https://docs.mux.com) | [Mux API Reference ](https://docs.mux.com/api-reference)

Mux PHP
=======

[](#mux-php)

Official Mux API wrapper for PHP projects, supporting both Mux Data and Mux Video.

[Mux Video](https://mux.com/video) is an API-first platform, powered by data and designed by video experts to make beautiful video possible for every development team.

[Mux Data](https://mux.com/data) is a platform for monitoring your video streaming performance with just a few lines of code. Get in-depth quality of service analytics on web, mobile, and OTT devices.

Not familiar with Mux? Check out  for more information.

Requirements
------------

[](#requirements)

PHP 7.1 or higher. Dependencies are managed using composer.

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

[](#installation)

We publish Mux PHP to [Packagist](https://packagist.org/packages/muxinc/mux-php). You should depend on Mux PHP by adding us to your composer.json:

```
    {
        "require": {
            "muxinc/mux-php": ">=0.0.1"
        }
    }
```

Then install your dependencies:

```
    composer install
```

And then autoload in your code:

```
    require_once 'vendor/autoload.php';
```

### Manual Installation

[](#manual-installation)

**PLEASE NOTE:** We don't really recommend manual installation and our ability to help if this route doesn't work is minimal. We include this mostly for purposes of completeness.

Download the files and include `autoload.php`:

```
