PHPackages                             apilo/apilo-api-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. [HTTP &amp; Networking](/categories/http)
4. /
5. apilo/apilo-api-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

apilo/apilo-api-php
===================

Apilo PHP Client

1.0.7(6mo ago)01.4k↓50%3[2 issues](https://github.com/apilo-com/apilo-api-php/issues)MITPHP

Since Mar 5Pushed 6mo agoCompare

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

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

Apilo PHP Client
================

[](#apilo-php-client)

The [Apilo.com](https://apilo.com/) platform is a modern multi-channel sales management system. Apilo allows integration with any system using the official REST API described in the documentation

### First steps

[](#first-steps)

To take advantage of Apilo's REST API capabilities, you need to create an account on the site at . Then, after creating an account and logging into the management panel, go to the tab "Administracja"-&gt;"Klucze API Apilo" and create a new application.

### Authorization

[](#authorization)

After creating the application, you will receive a one-time `authorization_code` to generate access and refresh token pair ([source](https://developer.apilo.com/api/#section/Authentication/BasicAuth)).

To do this you need to send the `POST /rest/auth/token/` request sending in the header [Authorization Basic](https://en.wikipedia.org/wiki/Basic_access_authentication#Client_side) ( user is "Client ID" and password is "Client Secret") and with the JSON body values `"grantType": "authorization_code"`, `"token": "{authorization_code}"`. Api will return `accessToken` and `refreshToken`.

Apilo REST API uses the access and refresh token scheme. This means that the communication uses the `Authorization: bearer {accessToken}` header (except for the authorization resource) ([source](https://developer.apilo.com/api/#tag/authorization)).

Access token is valid for 21 days therefore in order to maintain an active connection to the REST API it is necessary to send a request consisting of token pair by executing the `POST /rest/auth/token/` request sending in the Authorization Basic header (identical to the first authorization) and sending in the JSON body with the value `"grantType": "refresh_token"` and `"token": "{refreshToken}"`.

The response will return a new `accessToken` and a new `refreshToken`.

### Implementation

[](#implementation)

All implementation requirements are described in the official documentation available at . You are encouraged to generate code using OpenAPI based on the [swagger.json](https://developer.apilo.com/uploads/apilo/swagger.json) file available for download at the very top of the documentation. If you are using the PHP language in your project then we encourage you to use the implementation in this repository.

### Examples

[](#examples)

- [Obtain Access and Refresh tokens using authorization\_code](./Examples/Authorization/ExampleGetAccessToken.php)
- [Refresh Access and Refresh tokens using refresh\_token](./Examples/Authorization/ExampleRefreshToken.php)
- [Get list of orders](./Examples/Orders/ExampleApiOrdersGet.php)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance66

Regular maintenance activity

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.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 ~201 days

Total

4

Last Release

202d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/b76c64a4d626c3d73453ab04b00318a71cfb470bcab79412b235afad154053c3?d=identicon)[Janusz Samotyja](/maintainers/Janusz%20Samotyja)

---

Top Contributors

[![lukaszApilo](https://avatars.githubusercontent.com/u/108129348?v=4)](https://github.com/lukaszApilo "lukaszApilo (13 commits)")[![JanuszApilo](https://avatars.githubusercontent.com/u/161588212?v=4)](https://github.com/JanuszApilo "JanuszApilo (7 commits)")[![magik092](https://avatars.githubusercontent.com/u/7090340?v=4)](https://github.com/magik092 "magik092 (1 commits)")

---

Tags

phpapisdkrestapiloapilo-phpapilo-api

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

PHPackages © 2026

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