PHPackages                             mvenghaus/saloon-plenty-connector - 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. mvenghaus/saloon-plenty-connector

ActiveLibrary

mvenghaus/saloon-plenty-connector
=================================

Saloon Connector for Plenty

0497PHP

Since Mar 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mvenghaus/saloon-plenty-connector)[ Packagist](https://packagist.org/packages/mvenghaus/saloon-plenty-connector)[ RSS](/packages/mvenghaus-saloon-plenty-connector/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Saloon - Plentymarkets Connector
================================

[](#saloon---plentymarkets-connector)

[Saloon](https://docs.saloon.dev/) - Plentymarkets Connector with token handling, allowing you to easily start building your own requests.

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

[](#installation)

Install the package via composer:

```
composer require mvenghaus/saloon-plenty-connector
```

Usage
-----

[](#usage)

### Basic Structure

[](#basic-structure)

```
$configuration = new Configuration(...);
$apiConnector = new ApiConnector($configuration);

$response = $apiConnector->send(new Your_Request());
```

### Configuration - Structure

[](#configuration---structure)

```
class Configuration
{
    public function __construct(
        public string $endpoint, // https://www.your-domain.com/rest/
        public string $username,
        public string $password,
        public ?string $authenticator = null, // saloon authenticator (serialized)
        public ?Closure $authenticatorUpdateCallback = null, // callback to save authenticator if changed
        public ?Closure $debugCallback = null // callback for debugging
    ) {
    }
}
```

### Configuration - Example

[](#configuration---example)

```
$authenticator = load_from_your_cache();

$configuration = new Configuration(
    'https://www.your-domain.com/rest/',
    'USERNAME',
    'PASSWORD',
    $authenticator,
    function (string $authenticator) {
        save_to_your_cache($authenticator);
    },
    function (PendingRequest $pendingRequest, RequestInterface $psrRequest) {
        echo $pendingRequest->getUrl() . PHP_EOL;
    }
);
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9153207646a2b8a1d57ade7c92fa6d88a826ccb115ff60ca8776b32b877245e1?d=identicon)[mvenghaus](/maintainers/mvenghaus)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mvenghaus-saloon-plenty-connector/health.svg)

```
[![Health](https://phpackages.com/badges/mvenghaus-saloon-plenty-connector/health.svg)](https://phpackages.com/packages/mvenghaus-saloon-plenty-connector)
```

PHPackages © 2026

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