PHPackages                             deaduseful/openvz-client - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. deaduseful/openvz-client

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

deaduseful/openvz-client
========================

An OpenVz Client

0.0.2(3y ago)07MITPHP

Since Aug 22Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/deaduseful/openvz-client)[ Packagist](https://packagist.org/packages/deaduseful/openvz-client)[ RSS](/packages/deaduseful-openvz-client/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

An OpenVz Client
================

[](#an-openvz-client)

An OpenVz client using the ssh2 client.

Installation
------------

[](#installation)

`composer require deaduseful/openvz-client`

### Prerequisites

[](#prerequisites)

If you wish to use the SSH Client, you will need the `ssh2` extension installed. This is not required for the OpenVz Client itself, but is needed if you want to use the SSH functionality.

- On Linux:

```
    yum install libssh2-devel
    pear config-set preferred_state beta
    pecl install ssh2
    pear config-set preferred_state stable
```

On Mac OS X:

```
    brew install libssh2
    pecl install ssh2-1.1.2
```

### Usage

[](#usage)

The server must have "PasswordAuthentication yes" set in the sshd\_config.

### OpenVz Client Usage

[](#openvz-client-usage)

```
    $vz = new OpenVz/Client();
    print_r($vz->connect('server.domain.com', 'username', 'p4ssw0rd', 22));
    print_r($vz->su());
    print_r($vz->listvz());
    print_r($vz->listos());
    print_r($vz->exists('123'));
    print_r($vz->create('123', 'centos-4-i386-minimal', '192.168.50.51', 'n3wr00tp4ssw0rd'));
    print_r($vz->set('123', array('diskspace'=>'430209:433209', 'cpulimit'=>'20%')));
    print_r($vz->stop('123'));
    print_r($vz->start('123'));
    print_r($vz->restart('123'));
    print_r($vz->destroy('123'));
```

### SSH Client usage

[](#ssh-client-usage)

```
    $ssh = new Ssh/Client();
    $ssh->connect('host');
    $ssh->auth('user', 'password');
    $ssh->shellExecute('ps auxfc; ls');
    $ssh->disconnect();
```

About
-----

[](#about)

> A [dead useful](https://deaduseful.com/) project for [Phurix Web Hosting](https://phurix.co.uk/).

Copyright (c) 2004-2025 [James Wade](https://wade.be/)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1412d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/301eb5e9f2532944470784ea03cfa2b786b425d703a94949653a4352f743a865?d=identicon)[jpswade](/maintainers/jpswade)

---

Top Contributors

[![jpswade](https://avatars.githubusercontent.com/u/1087963?v=4)](https://github.com/jpswade "jpswade (27 commits)")

### Embed Badge

![Health badge](/badges/deaduseful-openvz-client/health.svg)

```
[![Health](https://phpackages.com/badges/deaduseful-openvz-client/health.svg)](https://phpackages.com/packages/deaduseful-openvz-client)
```

###  Alternatives

[phpdic/swoole-auto-restart

swoole development, automatically restarting the service after modifying the code.

232.8k](/packages/phpdic-swoole-auto-restart)[pyaesoneaung/laravel-myanmar-tools

A package for Myanmar tools which extend Laravel’s core.

291.5k](/packages/pyaesoneaung-laravel-myanmar-tools)

PHPackages © 2026

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