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(8y ago)2291GPL v3.0PHPPHP &gt;=5.3.0

Since Nov 7Pushed 8y ago2 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 1mo 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 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

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

3256d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/55e5444ea1a3af302281a8af4f159a7820b8f3ae4763d3cca9f184093448d0c4?d=identicon)[lafiosca](/maintainers/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

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B11.3k](/packages/symfony-console)[psy/psysh

An interactive shell for modern PHP.

9.8k545.6M719](/packages/psy-psysh)[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[nunomaduro/termwind

It's like Tailwind CSS, but for the console.

2.5k239.8M286](/packages/nunomaduro-termwind)[wp-cli/php-cli-tools

Console utilities for PHP

68325.0M367](/packages/wp-cli-php-cli-tools)[mostafaznv/larupload

Larupload is a ORM based file uploader for laravel to upload image, video, audio and other known files.

73403.7k3](/packages/mostafaznv-larupload)

PHPackages © 2026

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