PHPackages                             art-pub/nfon-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. art-pub/nfon-api-client-php

ActiveLibrary[API Development](/categories/api)

art-pub/nfon-api-client-php
===========================

NFON administration portal REST API PHP client

1.0.0(2y ago)14MITPHPPHP &gt;=8.0.0

Since Sep 27Pushed 2y ago2 watchersCompare

[ Source](https://github.com/art-pub/nfon-api-client-php)[ Packagist](https://packagist.org/packages/art-pub/nfon-api-client-php)[ RSS](/packages/art-pub-nfon-api-client-php/feed)WikiDiscussions main Synced 1mo ago

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

NFON administration portal REST API PHP-client
==============================================

[](#nfon-administration-portal-rest-api-php-client)

This is a small PHP package to send requests against the NFON administration portal REST API.

### Requirements

[](#requirements)

You need to have

1. the main URL to the API (i.e. `https://api09.nfon.com`)
2. your API public and (i.e. `NFON-ABCDEF-123456`)
3. your API secret and (i.e. `gAp3bTxxUev5JkxOcBdeC5Absm7J84jp6mEhJZd3XiLdjzoGSF`)
4. your account name (i.e. `K1234`)

Note

If you do not have this information, please contact your NFON partner for assistance.

Warning

**Never share your `API secret`!**

Usage
-----

[](#usage)

### Install the package

[](#install-the-package)

The easiest way for installation is to use [composer](https://getcomposer.org/) to use this package:

```
bash$ composer.phar require art-pub/nfon-api-client-php
```

### Create a request

[](#create-a-request)

```
    ...
    use NFONAPIClient\client;
    ...
    $apiBasePath = "https://api09.nfon.com"; //  Array
        (
            [0] => Array
                (
                    [href] => /api/customers/K1234/phone-books/1234
                    [links] => Array
                        (
                        )

                    [data] => Array
                        (
                            [0] => Array
                                (
                                    [name] => phonebookEntryId
                                    [value] => 1234
                                )

                            [1] => Array
                                (
                                    [name] => displayName
                                    [value] => Some User
                                )

                            [2] => Array
                                (
                                    [name] => displayNumber
                                    [value] => +49 (4711) 8015
                                )

                            [3] => Array
                                (
                                    [name] => restricted
                                    [value] =>
                                )

                        )

                )
...

```

DataMap:

```
...
    [dataMap] => Array
        (
            [0] => Array
                (
                    [phonebookEntryId] => 1234
                    [displayName] => Some User
                    [displayNumber] => +49 (4711) 0815
                    [restricted] =>
                )
...

```

### Good to know

[](#good-to-know)

#### Datasets and Pagination

[](#datasets-and-pagination)

Endpoints that return more than one record will return a maximum of 100 records on the first request. The result contains the following information:

Href: Path of the current request

Total: Amount of all datasets (not pages!)

Offset: Offset starting with 0

Size: Amount of maximum results in the response. You can set the amount in the request with the parameter `pageSize=XXX` with `XXX` being max. 100.

Links: Array of links including the first, the next and the last URL to retrieve all data. See `LinksMap["first"]`, `LinksMap["last"]` and `LinksMap["next"]` in the example above.

Important

**Please note:** You have to iterate through all those links to retrieve all data. Just repeat with the `next` given `Href` until your current `Href` (path of the current request) matches the `last` entry.

Important

If the `last` entry is empty, you already have all data in the current response.

Links
-----

[](#links)

- [Latest NFON API Documentation (zip)](https://cdn.cloudya.com/API_Documentation.zip)
- [go client for NFON API](https://github.com/art-pub/nfon-api-client)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

959d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4babd31867b7ba63e43be7b40e1c359525286d56d5437e780a75083178fdd337?d=identicon)[art-pub](/maintainers/art-pub)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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