PHPackages                             time4vps/lib - 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. [API Development](/categories/api)
4. /
5. time4vps/lib

ActiveLibrary[API Development](/categories/api)

time4vps/lib
============

UserAPI library for Time4VPS Hosting provider.

v1.0.1(6y ago)6533MITPHPPHP &gt;=7.0

Since Apr 22Pushed 6y ago2 watchersCompare

[ Source](https://github.com/time4vps/time4vps-lib)[ Packagist](https://packagist.org/packages/time4vps/lib)[ Docs](https://www.time4vps.com/)[ RSS](/packages/time4vps-lib/feed)WikiDiscussions master Synced 6d ago

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

Time4VPS User API PHP Library
=============================

[](#time4vps-user-api-php-library)

Time4VPS lib is a PHP library that makes easy to interact with Time4VPS UserAPI.

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

[](#installation)

Use `composer` package manager to install library:

```
composer install time4vps/lib
```

Usage
-----

[](#usage)

```
require_once __DIR__ . '/vendor/autoload.php';

// Auth details
$username = 'user';
$password = 'pass123';

Time4VPS\Base\Endpoint::Auth($username, $password);

// Get server details
$server_id = 748457;
$server = new Time4VPS\API\Server($server_id);

var_dump($server->details());

// Reboot server
try {
    $server->reboot();
} catch (Time4VPS\Exceptions\APIException $e) {
    die("Failed to reboot server: {$e->getMessage()}");
}
```

License
-------

[](#license)

[MIT](https://github.com/time4vps/time4vps-lib/blob/master/LICENSE)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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 ~13 days

Total

2

Last Release

2202d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1190af26b4c2a973cc6f27d0d5c981b357939edb28b1cbbd64db5b0d1b734f92?d=identicon)[algirdas.c](/maintainers/algirdas.c)

---

Tags

apiprovisioningapivpshostingtime4vps

### Embed Badge

![Health badge](/badges/time4vps-lib/health.svg)

```
[![Health](https://phpackages.com/badges/time4vps-lib/health.svg)](https://phpackages.com/packages/time4vps-lib)
```

###  Alternatives

[toin0u/digitalocean-v2

DigitalOcean API v2 client for PHP

7341.1M16](/packages/toin0u-digitalocean-v2)[toin0u/digitalocean

DigitalOcean API PHP 5.3+ library

15562.9k3](/packages/toin0u-digitalocean)[dunglas/digital-ocean-bundle

DigitalOcean API v2 client for Symfony and API Platform

312.2k](/packages/dunglas-digital-ocean-bundle)

PHPackages © 2026

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