PHPackages                             tomaj/php-evostream - 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. [API Development](/categories/api)
4. /
5. tomaj/php-evostream

ActiveLibrary[API Development](/categories/api)

tomaj/php-evostream
===================

PHP library for command Evostrem servers.

1.3.0(9y ago)215.7k↓18.2%1MITPHPPHP &gt;=5.3.3CI failing

Since Jul 22Pushed 7y ago2 watchersCompare

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

READMEChangelogDependencies (3)Versions (6)Used By (0)

php-evostream
=============

[](#php-evostream)

Basic library for working with [evostream servers](https://evostream.com) api from php. You can control one or more servers together.

[![Build Status](https://camo.githubusercontent.com/a7349224f08244e506be1332c6640cdd762747ea320fdef3eeb25ba58d8d2796/68747470733a2f2f7472617669732d63692e6f72672f746f6d616a2f7068702d65766f73747265616d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tomaj/php-evostream)

[![Latest Unstable Version](https://camo.githubusercontent.com/5551d01f0d5752085e80c1c6be61928f10de49630fa5a94f36a6ad3fea1c6f84/68747470733a2f2f706f7365722e707567782e6f72672f746f6d616a2f7068702d65766f73747265616d2f762f756e737461626c652e737667)](https://packagist.org/packages/tomaj/php-evostream)[![Latest Stable Version](https://camo.githubusercontent.com/0f1c43039ddac94d0e3e2386bacee269edaf4e3bc235218ec615d140336f74c0/68747470733a2f2f706f7365722e707567782e6f72672f746f6d616a2f7068702d65766f73747265616d2f762f737461626c652e737667)](https://packagist.org/packages/tomaj/php-evostream)[![License](https://camo.githubusercontent.com/7fe1e0a9588a2cb524c45120cd534106e5dd2d6226044ffa491e1af3350065c5/68747470733a2f2f706f7365722e707567782e6f72672f746f6d616a2f7068702d65766f73747265616d2f6c6963656e73652e737667)](https://packagist.org/packages/tomaj/php-evostream)

How to install
--------------

[](#how-to-install)

Best way to install is to install it with composer to your project or you can use library with own cli runner for directly control evostream servers.

```
$ composer require tomaj/php-evostream

```

How to use
----------

[](#how-to-use)

Run basic *version* command

```
$command = new \Tomaj\Evostream\Command\Version();
$evostream = new \Tomaj\Evostream\Evostream(new \Tomaj\Evostream\Protocol\HttpProtocol());
$result = $evostream->addServer('127.0.0.1:7777')
	->runCommand($command);

if ($result->allOk()) {
	print_r($result->getResponses());
}

```

Or you can for example set *pullStream* command to multiple servers:

```
$command = new \Tomaj\Evostream\Command\PullStream();
$command->setUri('some stream url')
	->setKeepAlive(true)
	->setLocalStreamName('some local stream url')
	->setTtl(10); // more sets available - check evostream api
$evostream = new \Tomaj\Evostream\Evostream(new \Tomaj\Evostream\Protocol\HttpProtocol());
$result = $evostream->addServers(array('192.168.1.101:7777', '192.168.1.102:7777'))
	->runCommand($command);

if ($result->allOk()) {
	print_r($result->getResponses());
}

```

Each Evostream command is implemented in library and command name is the same as evostream api call bud with upper first letter of call name. More info about mapping Evostream api command to php library command is down in chapter *Commands List*.

How to use from cli
-------------------

[](#how-to-use-from-cli)

Cli wrapper is simple command line tool for command evostream server/s.

Example use from console:

```
php cli/run.php 129.168.1.101 pullStream uri=rtmp://... localStreamName=teststream

```

Commands list
-------------

[](#commands-list)

All [EvoStream](https://evostream.com) api commands are available via php library.

\####Streams

- **pullStream** - Tomaj\\Evostream\\Command\\PullStream
- **pushStream** - Tomaj\\Evostream\\Command\\PushStream
- **createHLSStream** - Tomaj\\Evostream\\Command\\CreateHLSStream
- **createHDSStream** - Tomaj\\Evostream\\Command\\CreateHDSStream
- **createMSSStream** - Tomaj\\Evostream\\Command\\CreateMSSStream
- **record** - Tomaj\\Evostream\\Command\\Record
- **transcode** - Tomaj\\Evostream\\Command\\Transcode
- **listStreamsIds** - Tomaj\\Evostream\\Command\\ListStreamsIds
- **getStreamInfo** - Tomaj\\Evostream\\Command\\GetStreamInfo
- **listStreams** - Tomaj\\Evostream\\Command\\ListStreams
- **getStreamsCount** - Tomaj\\Evostream\\Command\\GetStreamsCount
- **shutdownStream** - Tomaj\\Evostream\\Command\\ShutdownStream
- **listConfig** - Tomaj\\Evostream\\Command\\ListConfig
- **removeConfig** - Tomaj\\Evostream\\Command\\RemoveConfig
- **addStreamAlias** - Tomaj\\Evostream\\Command\\AddStreamAlias
- **listStreamAliases** - Tomaj\\Evostream\\Command\\ListStreamAliases
- **removeStreamAlias** - Tomaj\\Evostream\\Command\\RemoveStreamAlias
- **flushStreamAliases** - Tomaj\\Evostream\\Command\\FlushStreamAliases
- **createIngestPoint** - Tomaj\\Evostream\\Command\\CreateIngestPoint
- **removeIngestPoint** - Tomaj\\Evostream\\Command\\RemoveIngestPoint
- **listIngestPoints** - Tomaj\\Evostream\\Command\\ListIngestPoints

\####Utility

- **launchProcess** - Tomaj\\Evostream\\Command\\LaunchProcess
- **setTimer** - Tomaj\\Evostream\\Command\\SetTimer
- **listTimers** - Tomaj\\Evostream\\Command\\ListTimers
- **removeTimer** - Tomaj\\Evostream\\Command\\RemoveTimer
- **insertPlaylistItem** - Tomaj\\Evostream\\Command\\InsertPlaylistItem
- **listStorage** - Tomaj\\Evostream\\Command\\ListStorage
- **addStorage** - Tomaj\\Evostream\\Command\\AddStorage
- **removeStorage** - Tomaj\\Evostream\\Command\\RemoveStorage
- **setAuthentication** - Tomaj\\Evostream\\Command\\SetAuthentication
- **setLogLevel** - Tomaj\\Evostream\\Command\\SetLogLevel
- **version** - Tomaj\\Evostream\\Command\\Version
- **help** - Tomaj\\Evostream\\Command\\Help
- **shutdownServer** - Tomaj\\Evostream\\Command\\ShutdownServer

\####Connections

- **listConnectionsIds** - Tomaj\\Evostream\\Command\\ListConnectionsIds
- **getConnectionInfo** - Tomaj\\Evostream\\Command\\GetConnectionInfo
- **listConnections** - Tomaj\\Evostream\\Command\\ListConnections
- **getExtendedConnectionCounters** - Tomaj\\Evostream\\Command\\GetExtendedConnectionCounters
- **resetMaxFdCounters** - Tomaj\\Evostream\\Command\\ResetMaxFdCounters
- **resetTotalFdCounters** - Tomaj\\Evostream\\Command\\ResetTotalFdCounters
- **getConnectionsCount** - Tomaj\\Evostream\\Command\\GetConnectionsCount
- **getConnectionsCountLimit** - Tomaj\\Evostream\\Command\\GetConnectionsCountLimit
- **setConnectionsCountLimit** - Tomaj\\Evostream\\Command\\SetConnectionsCountLimit
- **getBandwidth** - Tomaj\\Evostream\\Command\\GetBandwidth
- **setBandwidthLimit** - Tomaj\\Evostream\\Command\\SetBandwidthLimit

\####Services

- **listServices** - Tomaj\\Evostream\\Command\\ListServices
- **createService** - Tomaj\\Evostream\\Command\\CreateService
- **enableService** - Tomaj\\Evostream\\Command\\EnableService
- **shutdownService** - Tomaj\\Evostream\\Command\\ShutdownService

Future Todo
-----------

[](#future-todo)

1. Implement telnet protocol

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 92.6% 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 ~331 days

Total

4

Last Release

3323d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/875f8397233f01d81479a45bf6a64ca995f04d8ee9e72118f2ffcf129c502f12?d=identicon)[tomaj](/maintainers/tomaj)

---

Top Contributors

[![tomaj](https://avatars.githubusercontent.com/u/446736?v=4)](https://github.com/tomaj "tomaj (25 commits)")[![mikoczy](https://avatars.githubusercontent.com/u/14105084?v=4)](https://github.com/mikoczy "mikoczy (2 commits)")

---

Tags

streamphpapivideoevostream

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/tomaj-php-evostream/health.svg)

```
[![Health](https://phpackages.com/badges/tomaj-php-evostream/health.svg)](https://phpackages.com/packages/tomaj-php-evostream)
```

###  Alternatives

[jstolpe/instagram-graph-api-php-sdk

Instagram Graph API PHP SDK

13998.4k2](/packages/jstolpe-instagram-graph-api-php-sdk)

PHPackages © 2026

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