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

ActiveLibrary[API Development](/categories/api)

magentix/unopim-php-api-client
==============================

Simple PHP UnoPim API Client

1.0.4(1y ago)04PHPPHP &gt;=8

Since Feb 17Pushed 1y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (6)Used By (0)

Simple PHP UnoPim API Client
============================

[](#simple-php-unopim-api-client)

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

[](#installation)

```
composer require magentix/unopim-php-api-client
```

Usage
-----

[](#usage)

```
$apiUrl = 'https://www.example.com';
$clientId = '1a1b1c1d-2e2f-3g3h-4i4j-5k5l5m5n5o5p';
$clientSecret = '1a3b5c7d9e2f4g6h8i1j3k5l7m9n2o4p6q8r1s3t';
$username = 'john.doe@example.com';
$password = 'Password';

$cache = new \Magentix\UnoPimApiClient\UnoPimApiCache(
    __DIR__ . DIRECTORY_SEPARATOR . 'api_cache', // The cache file directory path
    86400 // Request lifetime in seconds (GET requests in HTTP 200 are cached, 0 to disable)
);

$client = new \Magentix\UnoPimApiClient\UnoPimApiClient(
    $apiUrl,
    $clientId,
    $clientSecret,
    $username,
    $password,
    $cache,
    3000 // Authentication lifetime (need to be lower that the access token TTL, 0 to disable)
);
```

### GET

[](#get)

```
$result = $client->get('/api/v1/rest/categories');
```

```
$params = [
    'filters' => [
        'categories' => [
            [
                'operator' => 'IN',
                'value' => ['beers']
            ]
        ]
    ],
    'limit' => 10,
];
$result = $client->get('/api/v1/rest/products', $params);
```

### POST

[](#post)

```
$data = [
    'code' => 'beers',
    'parent' => 'root',
    'additional_data' => [
        'locale_specific' => [
            'en_US' => ['name' => 'Beers'],
            'fr_FR' => ['name' => 'Bières'],
        ]
    ]
];
$result = $client->post('/api/v1/rest/categories', $data);
```

### PUT

[](#put)

```
$data = [
    'parent' => 'root',
    'additional_data' => [
        'locale_specific' => [
            'en_US' => ['name' => 'Beers'],
            'fr_FR' => ['name' => 'Bières'],
        ]
    ]
];
$result = $client->put('/api/v1/rest/categories/beers', $data);
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance41

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

5

Last Release

491d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/346889?v=4)[Matthieu Vion](/maintainers/magentix)[@magentix](https://github.com/magentix)

---

Top Contributors

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

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/magentix-unopim-php-api-client/health.svg)](https://phpackages.com/packages/magentix-unopim-php-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.0k13](/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)
