PHPackages                             rxx/vlc-telnet - 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. [CLI &amp; Console](/categories/cli)
4. /
5. rxx/vlc-telnet

AbandonedArchivedLibrary[CLI &amp; Console](/categories/cli)

rxx/vlc-telnet
==============

For interacting with VLC telnet console

v1.0.1(9y ago)2291GPL v3.0PHPPHP &gt;=5.3.0

Since Nov 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/RosyDoubleCross/php-vlc-telnet)[ Packagist](https://packagist.org/packages/rxx/vlc-telnet)[ Docs](https://github.com/RosyDoubleCross/php-vlc-telnet)[ RSS](/packages/rxx-vlc-telnet/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

php-vlc-telnet
==============

[](#php-vlc-telnet)

This is a tiny PHP library for interacting with VLC telnet console to implement custom video stream automation or create alternate interfaces.

Usage
-----

[](#usage)

The VLCTelnet class connects to a single VLC telnet console and provides methods for most of the commands that are worth using. It uses sensible defaults or can be configured more extensively by way of a Zend Config object and/or Monolog Loggers.

```
$vlc = new \RXX\VLCTelnet\VLCTelnet();
$vlc->clear();
$vlc->repeat(false);
$vlc->loop(true);
$vlc->random(true);
foreach ($videos as $video) {
    $vlc->add($video);
}
```

By default, as in the example above, the VLCTelnet object will connect to localhost port 5023. It will output action log information to stdout, and it will output telnet traffic to stderr. Both of these outputs use ANSI colors for clarity. This is especially useful with the telnet traffic to distinguish which text is going which direction.

To connect to a different endpoint, you must provide a Zend Config object with "host" and "port" values set. You may also provide alternative Monolog Logger targets for the action log and the socket log.

```
$config = new \Zend\Config\Config(array('host' => 'foo.bar', 'port' => 13013));
$nullLogger = new \Monolog\Logger('null', new \Monolog\Handler\NullHandler());
$vlc = new \RXX\VLCTelnet\VLCTelnet($config, $nullLogger, $nullLogger);
```

Caveats
-------

[](#caveats)

This library was developed against "VLC media player 2.0.6 Twoflower", although I don't believe the VLC telnet console functionality changes very often.

Be careful about letting a default VLCTelnet object destruct. It will close stdin and stderr when the destruct cascades to the default Monolog Loggers that are pointing to those. (This may make debugging frustrating.) Perhaps I should modify the defaults to work around this problem.

License
-------

[](#license)

php-vlc-telnet Copyright (C) 2014 Joe Lafiosca

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see .

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% 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 ~948 days

Total

2

Last Release

3353d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9442662?v=4)[Joe Lafiosca](/maintainers/lafiosca)[@lafiosca](https://github.com/lafiosca)

---

Top Contributors

[![lafiosca](https://avatars.githubusercontent.com/u/9442662?v=4)](https://github.com/lafiosca "lafiosca (8 commits)")[![josefjebavy](https://avatars.githubusercontent.com/u/11487565?v=4)](https://github.com/josefjebavy "josefjebavy (1 commits)")

---

Tags

streamconsoleautomationvideomediatelnetvlc

### Embed Badge

![Health badge](/badges/rxx-vlc-telnet/health.svg)

```
[![Health](https://phpackages.com/badges/rxx-vlc-telnet/health.svg)](https://phpackages.com/packages/rxx-vlc-telnet)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)[pantheon-systems/terminus

A command line interface for Pantheon

3441.5M20](/packages/pantheon-systems-terminus)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

55344.7k5](/packages/jolicode-castor)[lion/bundle

Lion-framework configuration and initialization package

132.4k5](/packages/lion-bundle)

PHPackages © 2026

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