PHPackages                             panopta/php-panopta-api-client - 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. panopta/php-panopta-api-client

ActiveLibrary[API Development](/categories/api)

panopta/php-panopta-api-client
==============================

A thin PHP wrapper for the Panopta API

1.1.0(10y ago)07MITPHPPHP ^5.4.0

Since Aug 25Pushed 10y ago2 watchersCompare

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

READMEChangelogDependencies (3)Versions (3)Used By (0)

Panopta API PHP Package
=======================

[](#panopta-api-php-package)

The Panopta REST API provides full access to all configuration, status and outage management functionality of the Panopta monitoring service, including the ability to create and modify monitoring checks that are being performed, manage notification configuration, respond to active outages and to pull availability statistics for monitored servers.

Installation
============

[](#installation)

Run the [Composer](https://getcomposer.org/) `require` command:

```
composer require panopta/php-panopta-api-client
```

Add the Composer autoloader to your project:

```
require 'vendor/autoload.php';
```

API Documentation
=================

[](#api-documentation)

Full documentation for the API is available at . By entering your API token you can view full details on all of the API methods and issue API requests from the documentation page. A token can be generated from the API management section of the Settings menu in the control panel at .

Usage
=====

[](#usage)

The library provides a wrapper around the Panopta REST API, making it easy to issue GET, POST, PUT and DELETE operations to the API.

Instantiate the Panopta API client
----------------------------------

[](#instantiate-the-panopta-api-client)

```
$client = Panopta\ApiClient(
    'https://api2.panopta.com',
    'your-api-token',
    2, // API version
    Panopta\ApiClient::LOG_DEBUG,
    'logs/' // Log directory
);
```

GET
---

[](#get)

```
$fiveContacts = $client->get('/contact', ['limit' => 5]);

$serversWithACertainFullyQualifiedDomainName = $client->get(
    '/server',
    ['fqdn' => 'panopta.com']
);

$serverFortyTwo = $client->get('/server/42');
```

POST
----

[](#post)

```
$newNotificationSchedule = $client->post(
    '/notification_schedule',
    ['name' => 'New Notification Schedule', 'targets' => [$serverFortyTwo['url']]]
);
```

PUT
---

[](#put)

```
$updatedServerGroup = $client->put(
    '/server_group',
    [
        'name' => 'Updated Server Group',
        'notification_schedule' => $newNotificationSchedule['url']
    ]
);
```

DELETE
------

[](#delete)

```
$client->delete('/contact/1');
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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.

###  Release Activity

Cadence

Every ~2 days

Total

2

Last Release

3917d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a59412309f35eaec99e8ae3649c90b1ca156d9596d64bd6b1ea56f27c00479d?d=identicon)[panopta](/maintainers/panopta)

---

Top Contributors

[![zachgarwood](https://avatars.githubusercontent.com/u/2098951?v=4)](https://github.com/zachgarwood "zachgarwood (15 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/panopta-php-panopta-api-client/health.svg)

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

###  Alternatives

[tinify/tinify

PHP client for the Tinify API. Tinify compresses your images intelligently. Read more at https://tinify.com.

2515.2M71](/packages/tinify-tinify)[corsinvest/cv4pve-api-php

Corsinvest Proxmox VE Client API PHP

801.4M](/packages/corsinvest-cv4pve-api-php)[zzantares/proxmoxve

A simple PHP 5.5+ Proxmox API client.

17761.8k4](/packages/zzantares-proxmoxve)[snowcap/emarsys

Emarsys RestFull API client

381.2M](/packages/snowcap-emarsys)[shortpixel/shortpixel-php

ShortPixel PHP SDK. Read more at https://shortpixel.com/api-tools

37531.5k10](/packages/shortpixel-shortpixel-php)[mrkampf/proxmox-ve

Proxmox VE API Client

6238.2k](/packages/mrkampf-proxmox-ve)

PHPackages © 2026

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