2017 © Pedro Peláez
 

library php-rebooter

This package will allow you to reboot, boot, and shutdown your servers remotely.

image

tylercd100/php-rebooter

This package will allow you to reboot, boot, and shutdown your servers remotely.

  • Monday, April 25, 2016
  • by tylercd100
  • Repository
  • 2 Watchers
  • 2 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

PHP Rebooter

Latest Version Software License Build Status Scrutinizer Code Quality Code Coverage Dependency Status Total Downloads, (*1)

This package will allow you to reboot, boot, and shutdown your servers remotely., (*2)

Currently supported: - Linode - DigitalOcean - Vultr - SSH with username and password, (*3)

Planned support for: - Amazon EC2 - SSH with more options, (*4)

Installation

Install via composer - In the terminal:, (*5)

composer require tylercd100/php-rebooter

Usage

Linode, DigitalOcean and Vultr

use Tylercd100\Rebooter\Drivers\Api\Linode;
use Tylercd100\Rebooter\Drivers\Api\DigitalOcean; // DigitalOcean takes the same parameters as Linode
use Tylercd100\Rebooter\Drivers\Api\Vultr;        // Vultr takes the same parameters as Linode

$token = "secret";
$server_id = 1234;

$server = new Linode($token,$server_id);

$server->reboot();
# or $server->boot();
# or $server->shutdown();

SSH Password

use Tylercd100\Rebooter\Drivers\Ssh\Password;

$host = "your-server.com";
$user = "your-username";
$pass = "your-secret-password";
$port = 22; // The port parameter is optional and will default to 22

$server = new Password($host,$user,$pass,$port);

$server->reboot();
# or $server->shutdown();
# or $server->boot(); // Will not work as you cannot boot a powered down maching using SSH

The Versions

25/04 2016

dev-feature-ec2-rebooter

dev-feature-ec2-rebooter https://github.com/tylercd100/php-rebooter

This package will allow you to reboot, boot, and shutdown your servers remotely.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tyler Arbon

tylercd100

21/04 2016

dev-master

9999999-dev https://github.com/tylercd100/php-rebooter

This package will allow you to reboot, boot, and shutdown your servers remotely.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tyler Arbon

tylercd100

21/04 2016

2.0.0

2.0.0.0 https://github.com/tylercd100/php-rebooter

This package will allow you to reboot, boot, and shutdown your servers remotely.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tyler Arbon

tylercd100

21/04 2016

1.3.0

1.3.0.0 https://github.com/tylercd100/php-rebooter

This package will allow you to reboot, boot, and shutdown your servers remotely.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tyler Arbon

tylercd100

21/04 2016

1.2.0

1.2.0.0 https://github.com/tylercd100/php-rebooter

This package will allow you to reboot, boot, and shutdown your servers remotely.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tyler Arbon

tylercd100

20/04 2016

1.1.0

1.1.0.0 https://github.com/tylercd100/php-rebooter

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tyler Arbon

tylercd100

20/04 2016

1.0.0

1.0.0.0 https://github.com/tylercd100/php-rebooter

  Sources   Download

MIT

The Requires

 

The Development Requires

by Tyler Arbon

tylercd100