PHPackages                             iwd-nl/snelstart-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. iwd-nl/snelstart-php

ActiveLibrary[API Development](/categories/api)

iwd-nl/snelstart-php
====================

Snelstart API toegepast in PHP

v2.1.1(10mo ago)819.8k↓17.6%26[13 PRs](https://github.com/iwd-nl/snelstart-php/pulls)1GPL-3.0-or-laterPHPPHP &gt;=7.2CI passing

Since Oct 11Pushed 10mo ago3 watchersCompare

[ Source](https://github.com/iwd-nl/snelstart-php)[ Packagist](https://packagist.org/packages/iwd-nl/snelstart-php)[ Docs](https://github.com/iwd-nl/snelstart-php)[ RSS](/packages/iwd-nl-snelstart-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (10)Versions (21)Used By (1)

Snelstart B2B API
=================

[](#snelstart-b2b-api)

PHP client library to use the Snelstart B2B API. [![Build Status](https://camo.githubusercontent.com/280fcb31a9ff538138a9c07518b2155a7b5f5f9e27d7c361275858aeae30f8d3/68747470733a2f2f7472617669732d63692e636f6d2f6977642d6e6c2f736e656c73746172742d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/iwd-nl/snelstart-php)

**Note that this library is not created, or maintained, by Snelstart.**

Pre-word
========

[](#pre-word)

This release will support both version 1 and version 2. Version 1 is considered deprecated, as Snelstart does not activly promote it anymore. Instructions on how to upgrade will be added when the next release takes place.

Installation
============

[](#installation)

Installation is easy as 1, 2, 3 thanks to Composer.

```
composer require iwd-nl/snelstart-php
```

Usage
=====

[](#usage)

Create an account at \[\] and subscribe to 'Verkenning'. Obtain the Primary and Secondary key from your Profile and generate a key on the web interface of Snelstart under 'Maatwerk'. You are going to need these credentials for the next chapter.

Authentication
--------------

[](#authentication)

Now that you have obtained the credentials you can start by connection the library to the API.

```
$primaryKey = "";
$secondaryKey = "";
$clientKey = "";

$bearerToken = new \SnelstartPHP\Secure\BearerToken\ClientKeyBearerToken($clientKey);
$accessTokenConnection = new \SnelstartPHP\Secure\AccessTokenConnection($bearerToken);
$accessToken = $accessTokenConnection->getToken();

$connection = new \SnelstartPHP\Secure\V2Connector(
    new \SnelstartPHP\Secure\ApiSubscriptionKey($primaryKey, $secondaryKey),
    $accessToken
);
```

\_Please note that there is also a class named `SnelstartPHP\Secure\CachedAccessTokenConnection` for when you are done with developing. This will automatically take care of renewing expired access tokens. \_

### Check if you are really authenticated

[](#check-if-you-are-really-authenticated)

We implemented the `EchoConnector` to test to see if you are authenticated.

Fetch data
----------

[](#fetch-data)

For an example see `var/doc/v2/inkoopboeking_find_all.php`

Add data
--------

[](#add-data)

For an example see `var/doc/v2/inkoopboeking_add.php`

Supported resources
-------------------

[](#supported-resources)

Not all resources are currently implemented. Feel free to create a pull request.

Links
=====

[](#links)

- \[\]

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance54

Moderate activity, may be stable

Popularity37

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 90.8% 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 ~129 days

Recently: every ~260 days

Total

20

Last Release

316d ago

Major Versions

v1.0.6 → v2.0.02020-03-02

v2.0.8 → 3.x-dev2023-01-02

PHP version history (2 changes)v1.0.0PHP &gt;=7.1

v2.0.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/590f5e04638fe6e1c8e386be1f9d7cc53d7ef12c3c948267c7342a9f3b966cf2?d=identicon)[Manuel de Ruiter](/maintainers/Manuel%20de%20Ruiter)

---

Top Contributors

[![manuelderuiter](https://avatars.githubusercontent.com/u/329788?v=4)](https://github.com/manuelderuiter "manuelderuiter (148 commits)")[![rojtjo](https://avatars.githubusercontent.com/u/1123887?v=4)](https://github.com/rojtjo "rojtjo (6 commits)")[![HVSoftware](https://avatars.githubusercontent.com/u/2630106?v=4)](https://github.com/HVSoftware "HVSoftware (4 commits)")[![robinbonnes](https://avatars.githubusercontent.com/u/5117166?v=4)](https://github.com/robinbonnes "robinbonnes (1 commits)")[![dfsoeten](https://avatars.githubusercontent.com/u/19746471?v=4)](https://github.com/dfsoeten "dfsoeten (1 commits)")[![SilvanWakker](https://avatars.githubusercontent.com/u/16898091?v=4)](https://github.com/SilvanWakker "SilvanWakker (1 commits)")[![RamonSmit](https://avatars.githubusercontent.com/u/1906631?v=4)](https://github.com/RamonSmit "RamonSmit (1 commits)")[![rickgoemans](https://avatars.githubusercontent.com/u/7813679?v=4)](https://github.com/rickgoemans "rickgoemans (1 commits)")

---

Tags

snelstart

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/iwd-nl-snelstart-php/health.svg)

```
[![Health](https://phpackages.com/badges/iwd-nl-snelstart-php/health.svg)](https://phpackages.com/packages/iwd-nl-snelstart-php)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[commercetools/commercetools-sdk

The official PHP SDK for the commercetools Composable Commerce APIs

19281.5k](/packages/commercetools-commercetools-sdk)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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