Download the PHP package lifo/remote-control without Composer

On this page you can find all versions of the php package lifo/remote-control. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package remote-control

Remote Control

"Remote Control" is a PHP class library that allows you to programically control a remote device via its CLI interface (usually via SSH or Telnet) or any other command via STDIN and STDOUT using Expect in an easy to use object oriented manner.

I've based this class design on my own Cisco Automation perl library here on github. However, I've tried to make this library as generic as possible to work with any any process or device.

Development Notes

The PHP Expect library is extremely limited and does not even come close to the perl Expect module available on CPAN. As of this writing the newest version of php-expect is v0.3.1 (updated almost 2 years ago!). Two main limitations is the way php-expect handles capturing output and pattern matching.

Project Setup

Dependencies

  1. PHP 5.3+
  2. Expect PECL extension

Installation

Composer is the recommended way to download and maintain your copy of the library (using packagist.org). Using Github directly is also a reasonable option, however, you'll have to manually create an autoloader for the classes or include them on your own (ugly!)

Composer Installation

  1. Add "lifo/remote-control" to your project composer.json file:

  2. Run composer update: php composer.phar update lifo/remote-control

GitHub Installatin

  1. Clone the remote-control repository:

    git clone git://github.com/lifo101/remote-control.git

  2. Add Lifo/RemoteControl to your project autoloader as-needed.

Examples

See the examples directory for more runnable examples.


All versions of remote-control with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
ext-expect Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lifo/remote-control contains the following files

Loading the files please wait ....