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

ActiveLibrary[API Development](/categories/api)

acendy/acendy-api-client
========================

Acendy API Client

1.0.0(9mo ago)0381MITPHPPHP &gt;=8.2CI passing

Since Sep 8Pushed 9mo agoCompare

[ Source](https://github.com/mystoreno/acendy-api-client)[ Packagist](https://packagist.org/packages/acendy/acendy-api-client)[ RSS](/packages/acendy-acendy-api-client/feed)WikiDiscussions main Synced today

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

Acendy API Client
=================

[](#acendy-api-client)

The **Acendy API Client** is a PHP library for interacting with the Acendy API.

For detailed API specifications, refer to the official documentation at .

Getting Started
---------------

[](#getting-started)

To use the Acendy API Client, you need an API token for authentication. Follow these steps:

1. **Obtain an API Token**: Log in to  and generate an API token. This token authenticates all requests made through the client.
2. **Review the API Docs**: Visit  for comprehensive details on endpoints, authentication, and request/response formats.
3. **Set up the client**: Use the token, your store's unique identifier, and the API base URL to initialize the client (see **Installation** and **Usage Examples** below).

Installation
------------

[](#installation)

```
composer require acendy/acendy-api-client
```

Using the library requires a PSR-18 compatible HTTP Client like GuzzleHTTP. If you don't have one, install Guzzle + PSR-7:

```
composer require guzzlehttp/guzzle guzzlehttp/psr7
```

### Usage examples

[](#usage-examples)

Below are examples demonstrating how to use the Acendy API Client. These assume you have Guzzle installed.

#### Initializing the Client

[](#initializing-the-client)

Instantiate the AcendyApiClient with your API credentials and HTTP dependencies:

```
require_once __DIR__ . '/vendor/autoload.php';

use Acendy\Api\Client\AcendyApiClient;

use GuzzleHttp\Client;
use GuzzleHttp\Psr7\HttpFactory;

$client = new AcendyApiClient(
    baseURL: 'https://api.mystore.no/',
    token: 'your-api-token',
    storeName: 'your-store-name',
    httpClient: new Client(),
    requestFactory: new HttpFactory(),
    streamFactory: new HttpFactory()
);
```

#### Simple example: get all customers

[](#simple-example-get-all-customers)

Retrieve a list of all customers without additional parameters:

```
$customers = $client->customers()->getAllCustomers();
print_r($customers);
```

#### Simple example: get customer by id

[](#simple-example-get-customer-by-id)

Retrieve a single customer:

```
$customer = $client->customers()->getCustomerById('123456');
print_r($customer);
```

#### Basic example: get orders with pagination

[](#basic-example-get-orders-with-pagination)

Fetch orders with basic pagination using the QueryParameters class:

```
use Acendy\Api\Client\QueryParameters;

$queryParams = new QueryParameters(
    pageNumber: 1,
    pageSize: 5
);
$paginatedOrders = $client->orders()->getAllOrders($queryParams);
print_r($paginatedOrders);
```

#### Advanced example: Get orders with full query parameters

[](#advanced-example-get-orders-with-full-query-parameters)

Perform a complex query on customers with filters, sorting, includes, and field selection:

```
use Acendy\Api\Client\QueryParameters;

$queryParams = new QueryParameters(
    pageNumber: 1,
    pageSize: 50,
    filters: [
        'customer.id' => '123456',
        'order-status.id' => '1',
        'currency' => 'NOK'
    ],
    sort: ['-created_at'],
    include: ['customer', 'order-status', 'order-products'],
    fields: ['customer_address_name', 'currency', 'created_at'],
);

$orders = $client->orders()->getAllOrders($queryParams);
print_r($orders);
```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance55

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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 ~0 days

Total

2

Last Release

299d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1409675?v=4)[Jarkko Asgård](/maintainers/cowbellerina)[@cowbellerina](https://github.com/cowbellerina)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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