PHPackages                             splitice/buyvm-stallion-api - 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. splitice/buyvm-stallion-api

ActiveLibrary[API Development](/categories/api)

splitice/buyvm-stallion-api
===========================

v1.0(11y ago)84.1k↑33.3%1[1 issues](https://github.com/splitice/buyvm-stallion-api/issues)MITPHPPHP &gt;=5.4

Since Jul 2Pushed 4y ago2 watchersCompare

[ Source](https://github.com/splitice/buyvm-stallion-api)[ Packagist](https://packagist.org/packages/splitice/buyvm-stallion-api)[ RSS](/packages/splitice-buyvm-stallion-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

BuyVM Stallion API (PHP)
========================

[](#buyvm-stallion-api-php)

[![Build Status](https://camo.githubusercontent.com/369d0b3e881c8f4d2f8d9bc187596a5587d384d54c328be0c95b31619dd8dc39/68747470733a2f2f7472617669732d63692e6f72672f73706c69746963652f627579766d2d7374616c6c696f6e2d6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/splitice/buyvm-stallion-api)

This is a PHP5 wrapper to easily integrate with BuyVM's Stallion control panel API.

Developed for use at [www.x4b.net](http://www.x4b.net). Pull requests, features and patches welcome.

Requirements
------------

[](#requirements)

You need PHP 5.3.2+ compiled with the cURL extension.

Install BuyVM Stallion API (PHP)
--------------------------------

[](#install-buyvm-stallion-api-php)

### Installing via Composer

[](#installing-via-composer)

The recommended way to install the Stallion SDK is through [Composer](http://getcomposer.org).

1. Add `splitice/buyvm-stallion-api` as a dependency in your project's `composer.json` file:

    ```
     {
         "require": {
             "splitice/buyvm-stallion-api": "dev-master"
         }
     }

    ```
2. Download and install Composer:

    ```
     curl -s http://getcomposer.org/installer | php

    ```
3. Install your dependencies:

    ```
     php composer.phar install

    ```
4. Require Composer's autoloader

    Composer also prepares an autoload file that's capable of autoloading all of the classes in any of the libraries that it downloads. To use it, just add the following line to your code's bootstrap process:

    ```
     require 'vendor/autoload.php';

    ```

You can find out more on how to install Composer, configure autoloading, and other best-practices for defining dependencies at [getcomposer.org](http://getcomposer.org).

Examples
--------

[](#examples)

Here are some examples on how to do basic operations.

### Setting Reverse DNS

[](#setting-reverse-dns)

```
$client = new ApiClient('KEY', 'HASH');
$api = new BuyVMApi($client);
$api->rdns('1.1.1.1', 'rdns-ptr');

```

### Get VPS information

[](#get-vps-information)

```
$client = new ApiClient('KEY', 'HASH');
$api = new BuyVMApi($client);
$memory = $api->get('mem');

```

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

4328d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64550cf2479d8e12424d51917f2adea34149494df1ae435952432c6fbd701c87?d=identicon)[splitice](/maintainers/splitice)

---

Top Contributors

[![splitice](https://avatars.githubusercontent.com/u/468579?v=4)](https://github.com/splitice "splitice (14 commits)")

---

Tags

buyvmstallion

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/splitice-buyvm-stallion-api/health.svg)

```
[![Health](https://phpackages.com/badges/splitice-buyvm-stallion-api/health.svg)](https://phpackages.com/packages/splitice-buyvm-stallion-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M474](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M186](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M33](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M95](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

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