PHPackages                             m1guelpf/hyperhost-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. m1guelpf/hyperhost-api

ActiveLibrary[API Development](/categories/api)

m1guelpf/hyperhost-api
======================

PHP Client for the Hyper.Host API

431[1 PRs](https://github.com/m1guelpf/php-hyperhost-api/pulls)PHP

Since Dec 28Pushed 6y ago2 watchersCompare

[ Source](https://github.com/m1guelpf/php-hyperhost-api)[ Packagist](https://packagist.org/packages/m1guelpf/hyperhost-api)[ RSS](/packages/m1guelpf-hyperhost-api/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

PHP Hyper.host API Client
=========================

[](#php-hyperhost-api-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/972235a3c90a4d2c5ec2e51b6c56b98dbc637a807b5a6e36fd75a20d0478595c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d316775656c70662f6879706572686f73742d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/m1guelpf/fly-api)[![Software License](https://camo.githubusercontent.com/74194d5082fb1d1e000b4bece776501ababe70d0566a50c4db923904fb5a46d7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d316775656c70662f7068702d6879706572686f73742d6170692e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/9c1f08fa5d9db2ff0c681c0c800f17d7fff32d0ba2cdf6ee2232584e33f656fe/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d316775656c70662f7068702d6879706572686f73742d6170692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/m1guelpf/php-hyperhost-api)[![Total Downloads](https://camo.githubusercontent.com/f54ea0c129eac70d278bba9fa0adbda141f0478ea7beec972e90fc36f4fe1e55/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d316775656c70662f6879706572686f73742d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/m1guelpf/hyperhost-api)

This package makes it easy to interact with [the Hyper.host API](https://documenter.getpostman.com/view/4184902/Rzn9tgpz#410d0f97-7051-418d-82eb-9031e6cac808).

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

[](#requirements)

This package requires PHP &gt;= 5.5.

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

[](#installation)

You can install the package via composer:

```
composer require m1guelpf/hyperhost-api
```

Usage
-----

[](#usage)

You must pass a Guzzle client and the API token to the constructor of `M1guelpf\HyperHostAPI\HyperHost`.

```
$hyperhost = new \M1guelpf\HyperHostAPI\HyperHost('YOUR_API_TOKEN');
```

or you can skip the token and use the `connect()` method later

```
$hyperhost = new \M1guelpf\HyperHostAPI\HyperHost();

$hyperhost->connect('YOUR_FLY_API_TOKEN');
```

### Get all Teams

[](#get-all-teams)

```
$hyperhost->getTeams();
```

### Get a specific Team

[](#get-a-specific-team)

```
$hyperhost->getTeam($teamId);
```

### Create a Team

[](#create-a-team)

```
$hyperhost->createTeam($name, $slug);
```

### Invite someone to a Team

[](#invite-someone-to-a-team)

```
$hyperhost->inviteTeamMember($teamId, $email);
```

### Get all Packages

[](#get-all-packages)

```
$hyperhost->getPackages();
```

### Get SSO Link

[](#get-sso-link)

```
$hyperhost->getSSOLink($packageId);
```

### Create a Package

[](#create-a-package)

```
$hyperhost->createPackage($domain, $platform, $teamId);
```

### Start a Migration

[](#start-a-migration)

```
$hyperhost->startMigration($host, $user, $password, $domain);
```

### Get the Guzzle Client

[](#get-the-guzzle-client)

```
$hyperhost->getClient();
```

### Set the Guzzle Client

[](#set-the-guzzle-client)

```
$client = new \GuzzleHttp\Client(); // Example Guzzle client
$hyperhost->setClient($client);
```

where $client is an instance of `\GuzzleHttp\Client`.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Miguel Piedrafita](https://github.com/m1guelpf)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License. Please see [License File](LICENSE.md) for more information.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23558090?v=4)[Miguel Piedrafita](/maintainers/m1guelpf)[@m1guelpf](https://github.com/m1guelpf)

---

Top Contributors

[![m1guelpf](https://avatars.githubusercontent.com/u/23558090?v=4)](https://github.com/m1guelpf "m1guelpf (1 commits)")

### Embed Badge

![Health badge](/badges/m1guelpf-hyperhost-api/health.svg)

```
[![Health](https://phpackages.com/badges/m1guelpf-hyperhost-api/health.svg)](https://phpackages.com/packages/m1guelpf-hyperhost-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

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

GitHub API v3 client

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

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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