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

ActiveLibrary[API Development](/categories/api)

planviewer/api-client-php
=========================

API Client library to access Planviewer API's

1.0.4(5y ago)05.8k4[2 PRs](https://github.com/Planviewer/api-client-php/pulls)AGPL-3.0-onlyPHP

Since Dec 3Pushed 2y ago3 watchersCompare

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

READMEChangelog (4)Dependencies (1)Versions (15)Used By (0)

 Planviewer API Client
======================

[](#-planviewer-api-client)

Composer Installation
=====================

[](#composer-installation)

By far the easiest way to install the api-client is to require it with [Composer](https://getcomposer.org/doc/00-intro.md).

```
$ composer require "planviewer/api-client-php:^1.0.0"

{
    "require": {
        "planviewer/api-client-php": "^1.0.0"
    }
}
```

Manual Installation
===================

[](#manual-installation)

If you're not familiar with using composer we've added a ZIP file to the releases containing the API client. Download the api-client-php from the [releases page](https://github.com/Planviewer/api-client-php/releases/).

Basic Authentication
====================

[](#basic-authentication)

You'll need a Client &amp; Secret in order to use Planviewer API's Log into  and go to your applications: [https://www.planviewer.nl/my\_api/applications/](https://www.planviewer.nl/my_api/applications/)

Generate a random Client &amp; Secret.

Add the Client &amp; Secret to /config/config.php or to your configuration file.

```
return [
    'api-key' => '86c****7b',
    'api-secret' => '3783******6b3ab4c87fef3ffc*****bb058a72c****cbef2d',
];
```

Class integration
=================

[](#class-integration)

Add the use to your class or script. create an instance of the Planviewer object.

```
use Planviewer/Planviewer;

$planviewer = new Planviewer($config);
```

The Planviewer object contains all our API's. You can access the calls as follows:

```
/** Access Maps API  */
$planviewer->mapsApi>listViewers();

/** Access Data API  */
$planviewer->dataApi->getdataList();

/** Access Product API  */
$planviewer->productApi->getProducts();
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 68.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 ~85 days

Total

4

Last Release

2093d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/27eeeb9958426e5f93d302ab0826f514d4e993e75c125d512c90b0e0e75e708a?d=identicon)[asimons-planviewer](/maintainers/asimons-planviewer)

![](https://www.gravatar.com/avatar/64e5f0701da8d61bc5508c3ea72ca06c100c216f25396d9993e40936add11fae?d=identicon)[JPGommers](/maintainers/JPGommers)

---

Top Contributors

[![JPGommers](https://avatars.githubusercontent.com/u/58471056?v=4)](https://github.com/JPGommers "JPGommers (42 commits)")[![asimons-planviewer](https://avatars.githubusercontent.com/u/58470028?v=4)](https://github.com/asimons-planviewer "asimons-planviewer (18 commits)")[![alex-keysoft](https://avatars.githubusercontent.com/u/155431564?v=4)](https://github.com/alex-keysoft "alex-keysoft (1 commits)")

### Embed Badge

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

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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