PHP library that wraps the Wowza Streaming Engine™ REST API
Switch branches/tags
Nothing to show
Clone or download
Latest commit c8a6e31 May 16, 2018

Scrutinizer Code Quality

PHP REST Library for Wowza Streaming Engine

Wowza Streaming Engine media server software includes a REST API that you can wrap with a PHP library to configure, manage, and monitor your streaming media server through PHP requests.


Wowza Streaming Engine™ 4.0.0 or later is required.

PHP 5.5.0 or later is required.

Composer is highly recommended.

Composer Setup

  1. Please install composer

  2. $ composer require "wowza/wse-rest-library-php:dev-master"

Wowza Media Systems, LLC is not responsible for nor does it provide support for composer.

Example Configuration




// This is for a framework if you use one.
//$framework = new Project\Framework();

require_once("../config.php"); // make sure this exists and is similar to the below - move it where it needs to be


// config.php
define("WOWZA_SERVER_INSTANCE", "_defaultServer_");
define("WOWZA_VHOST_INSTANCE", "_defaultVHost_");
define("WOWZA_USERNAME", "my_secret_username");
define("WOWZA_PASSWORD", "my_super_cool_password");

// It is simple to create a setup object for transporting our settings
$setup = new Com\Wowza\Entities\Application\Helpers\Settings();

// Connect to the server or deal with statistics NOTICE THE CAPS IN COM AND WOWZA
$server = new Com\Wowza\Server($setup);
$sf = new Com\Wowza\Statistics($setup);
$response = $sf->getServerStatistics($server);


A development branch is available through Packagist at the packagist website.


To learn the basics of how to query the Wowza Streaming Engine REST service using PHP, see How to use PHP to make requests to the Wowza Streaming Engine REST API. For examples on how to leverage this PHP library, see REST API Query Examples (PHP).

More resources

Wowza Media Systems™ provides developers with a platform to create streaming applications and solutions. See Wowza Developer Tools to learn more about our APIs and SDK.


Wowza Media Systems, LLC


This code is distributed under the Wowza Public License.

alt tag