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. [API Development](/categories/api)
4. /
5. ente/portainer-php-api

ActiveLibrary[API Development](/categories/api)

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

A PHP API client for Portainer CE

0.3(2mo ago)2642GPL-3.0-onlyPHPPHP &gt;=8.0

Since Dec 15Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/bryan-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 (3)Dependencies (4)Versions (3)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
```

Compatibility
-------------

[](#compatibility)

- v0.3: Portainer CE 2.39.1
- v0.2: Portainer CE 2.21.4
- v0.1: Portainer CE 2.21.4

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance88

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity35

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

Every ~487 days

Total

2

Last Release

77d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/270623869?v=4)[Ente](/maintainers/Ente)[@ente](https://github.com/ente)

---

Top Contributors

[![bryan-ente](https://avatars.githubusercontent.com/u/50058585?v=4)](https://github.com/bryan-ente "bryan-ente (7 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

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[showdoc/showdoc

ShowDoc is a tool greatly applicable for an IT team to share documents online

12.8k7.1k](/packages/showdoc-showdoc)[netflie/whatsapp-cloud-api

The first PHP SDK to send and receive messages using a cloud-hosted version of the WhatsApp Business Platform

668535.6k5](/packages/netflie-whatsapp-cloud-api)[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36208.3k3](/packages/wrav-oembed)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.7k1](/packages/jasara-php-amzn-selling-partner-api)[hardcastle/xrpl_php

PHP SDK / Client for the XRP Ledger

1110.7k7](/packages/hardcastle-xrpl-php)

PHPackages © 2026

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