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

ActiveLibrary

ente/portainer-php-api
======================

A PHP API client for Portainer CE

0.1(1y ago)1642GPL-3.0-onlyPHPPHP &gt;=8.0

Since Dec 15Pushed 1y ago2 watchersCompare

[ Source](https://github.com/Ente/portainer-php-api)[ Packagist](https://packagist.org/packages/ente/portainer-php-api)[ RSS](/packages/ente-portainer-php-api/feed)WikiDiscussions master Synced 1mo ago

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

Portainer PHP API
=================

[](#portainer-php-api)

Portainer PHP API client For the full API documentation implemented, please take a look at

Supported endpoint groups
-------------------------

[](#supported-endpoint-groups)

- Auth
- Backup
- CustomTemplates
- Docker
- Endpoints
- LDAP
- Motd
- Gitops
- Registries

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

[](#installation)

Download the package using composer:

```
composer require ente/portainer-php-api
```

Then configure .env file with the following variables:

- API\_URL (e.g. `localhost:9443`)
- USERNAME
- PASSWORD
- IGNORE\_SSL (currently all requests are made with `verify` set to `false`)

Usage
-----

[](#usage)

```
require_once __DIR__ . "/vendor/autoload.php";
use Portainer\Portainer;
$portainer = new Portainer(__DIR__, ".env", "username", "password", "https://yourhost:9443");

echo var_dump($portainer->customTemplates()->list()); // array containing custom templates
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance41

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity33

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

519d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a7f0d2fce322d2d7b7713f277b80988115fc2deaf28788b5289a1a9330b884f?d=identicon)[Ente](/maintainers/Ente)

---

Top Contributors

[![bryan-ente](https://avatars.githubusercontent.com/u/50058585?v=4)](https://github.com/bryan-ente "bryan-ente (6 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/ente-portainer-php-api/health.svg)](https://phpackages.com/packages/ente-portainer-php-api)
```

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[bacula-web/bacula-web

The open source web based reporting and monitoring tool for Bacula

1537.5k](/packages/bacula-web-bacula-web)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[doppar/framework

The Doppar Framework

366.7k8](/packages/doppar-framework)[hardcastle/xrpl_php

PHP SDK / Client for the XRP Ledger

129.7k5](/packages/hardcastle-xrpl-php)

PHPackages © 2026

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