PHPackages                             mangati/portainer-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. mangati/portainer-api

ActiveLibrary[API Development](/categories/api)

mangati/portainer-api
=====================

Portainer API client

v0.5.0(5y ago)121.7k6MITPHP

Since Jan 25Pushed 5y ago2 watchersCompare

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

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

portainer-php-api
=================

[](#portainer-php-api)

Portainer API client

Install
-------

[](#install)

```
composer req mangati/portainer-api

```

Usage
-----

[](#usage)

Managing endpoints:

```
$portainer = new \Mangati\Portainer\Client('http://127.0.0.1:9000');
$portainer->auth('admin', '123456789');

$endpointsApi = $portainer->endpoints();
$endpoints    = $endpointsApi->getAll();

print_r($endpoints);
```

Managing stacks:

```
$stacksApi = $portainer->stacks($endpoints[0]['Id']);
$stacks    = $stacksApi->getAll();

print_r($stacks);

if (count($stacks)) {
    $stacksApi->delete($stacks[0]['Id']);
}
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

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

Every ~299 days

Total

5

Last Release

1884d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1065082?v=4)[Rogério Lino](/maintainers/rogeriolino)[@rogeriolino](https://github.com/rogeriolino)

---

Top Contributors

[![rogeriolino](https://avatars.githubusercontent.com/u/1065082?v=4)](https://github.com/rogeriolino "rogeriolino (8 commits)")[![till](https://avatars.githubusercontent.com/u/27003?v=4)](https://github.com/till "till (1 commits)")

---

Tags

apiportainer

### Embed Badge

![Health badge](/badges/mangati-portainer-api/health.svg)

```
[![Health](https://phpackages.com/badges/mangati-portainer-api/health.svg)](https://phpackages.com/packages/mangati-portainer-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)
