PHPackages                             mauchede/rancher-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. mauchede/rancher-api

AbandonedArchivedLibrary[API Development](/categories/api)

mauchede/rancher-api
====================

Rancher API is a set of PHP classes for interacting with Rancher

151.8k6[1 issues](https://github.com/mauchede/rancher-api/issues)PHP

Since Sep 22Pushed 5y agoCompare

[ Source](https://github.com/mauchede/rancher-api)[ Packagist](https://packagist.org/packages/mauchede/rancher-api)[ RSS](/packages/mauchede-rancher-api/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Rancher API
===========

[](#rancher-api)

Rancher API is a set of PHP classes for interacting with [Rancher](http://rancher.com/rancher/).

⚠️ This project is no longer maintained. ⚠️

[![SensioLabsInsight](https://camo.githubusercontent.com/d769146f4e5bf61250ca00d3eb6b64a108e2dde449897c9ef97c2ed035120dc1/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f31663764653934322d383930302d346631622d383834302d3031336432653632623862632f6269672e706e67)](https://insight.sensiolabs.com/projects/1f7de942-8900-4f1b-8840-013d2e62b8bc)

\## Installation

Rancher API can be installed via [composer](https://getcomposer.org/):

```
composer require mauchede/rancher-api
```

**Note**: To use the JMS annotation, you may have to configure your `autoload`. You can find an example in [bootstrap.php.dist](https://github.com/mauchede/rancher-api/blob/master/bootstrap.php.dist).

Usage
-----

[](#usage)

```
use Mauchede\RancherApi\Client\Client;
use Mauchede\RancherApi\Resource\Project;

$client = new Client('access_key', 'secret_key');
$project = $client->get('endpoint', Project::class);
$containers = $project->getContainers();
```

`endpoint` and the API Keys (`access_key` and `secret_key`) can be found in Rancher settings (`[Rancher URL]/settings/api`).

**Note**: API keys are only available for ***one*** project/environment.

Links
-----

[](#links)

- [Guzzle documentation](https://guzzle.readthedocs.org/)
- [JMS Serializer documentation](http://jmsyst.com/libs/serializer)
- [Specification for Rancher REST API implementation](https://github.com/rancher/api-spec)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity32

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5702936?v=4)[Morgan AUCHEDE](/maintainers/mauchede)[@mauchede](https://github.com/mauchede)

---

Top Contributors

[![mauchede](https://avatars.githubusercontent.com/u/5702936?v=4)](https://github.com/mauchede "mauchede (5 commits)")

### Embed Badge

![Health badge](/badges/mauchede-rancher-api/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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