PHPackages                             stefandoorn/becosoft-fashionpro-nl-php-api - 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. stefandoorn/becosoft-fashionpro-nl-php-api

ArchivedLibrary

stefandoorn/becosoft-fashionpro-nl-php-api
==========================================

PHP Wrapper for the Becosoft Fashionpro NL API

065↓100%PHPCI passing

Since Jan 30Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/stefandoorn/becosoft-fashionpro-nl-php-api)[ Packagist](https://packagist.org/packages/stefandoorn/becosoft-fashionpro-nl-php-api)[ RSS](/packages/stefandoorn-becosoft-fashionpro-nl-php-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Becosoft Fashionpro NL PHP API Wrapper
======================================

[](#becosoft-fashionpro-nl-php-api-wrapper)

[![Build Status](https://camo.githubusercontent.com/155f82046723fd43193f9b01c1e06d3af7aa7ac52ef7e0efab4e8f608d2683e6/68747470733a2f2f7472617669732d63692e6f72672f73746566616e646f6f726e2f6265636f736f66742d66617368696f6e70726f2d6e6c2d7068702d6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/stefandoorn/becosoft-fashionpro-nl-php-api)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/04e0d3f4fc37c1db0778c38b4938454b98e940e82152aaeacd03609a5bbf02d9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73746566616e646f6f726e2f6265636f736f66742d66617368696f6e70726f2d6e6c2d7068702d6170692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/stefandoorn/becosoft-fashionpro-nl-php-api/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/6875ee8b9d8343126c7c897740d542234ba04871063a9e32a1c7fda1adf551e4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73746566616e646f6f726e2f6265636f736f66742d66617368696f6e70726f2d6e6c2d7068702d6170692f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/stefandoorn/becosoft-fashionpro-nl-php-api/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/c9eb2d48f6f42931f17fd8feb83492e7eb6cc8bd92668f7ff3557a9e90bd738f/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e646f6f726e2f6265636f736f66742d66617368696f6e70726f2d6e6c2d7068702d6170692f762f737461626c65)](https://packagist.org/packages/stefandoorn/becosoft-fashionpro-nl-php-api)[![License](https://camo.githubusercontent.com/202f487462f5ffd35aafde2dbeb32202ab0c33f8b5015f4c0a0b78a6f8b79e8d/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e646f6f726e2f6265636f736f66742d66617368696f6e70726f2d6e6c2d7068702d6170692f6c6963656e7365)](https://packagist.org/packages/stefandoorn/becosoft-fashionpro-nl-php-api)

This package provides a simple PHP Wrapper around the Becosoft Fashionpro API: ).

Please note:

- The endpoints are in Dutch. An English API is not yet available.
- The entities provided in this package written as used in the API, all other code is English based.

Requirements
------------

[](#requirements)

- PHP &gt;= 5.5

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

[](#installation)

```
composer require stefandoorn/becosoft-fashionpro-nl-php-api

```

Usage
-----

[](#usage)

### Create wrapper instance

[](#create-wrapper-instance)

```
/**
 * Api constructor.
 * @param GatewayInterface $gateway
 */
public function __construct(GatewayInterface $gateway)

```

Quick start:

```
$gateway = GatewayFactory::get('apiKey', $debug = true);
$api = new Api($gateway);

```

The API allows you to insert your own `Gateway`. The default `Gateway` (from the factory) uses a `Guzzle` instance for the API communication and a `NullLogger` instance for logging (no logging). Supply your own logger to make sure logging is possible. If needed, also supply your own gateway implementation.

### GET items

[](#get-items)

- Use `get` on an entity to push a single GET request using the optional filters you specify. Refer to the API documentation which filters you can use per entity.
- Use `getAll` on an entity to get all items that adhere to your filter. The wrapper takes care of sending enough requests to fetch all items (using the `take/skip` parameters) in batches of 50 items.

Examples
--------

[](#examples)

### Load Articles

[](#load-articles)

```
$gateway = GatewayFactory::get('apiKey', $debug = true);
$api = new Api($gateway);
$entity = new Artikel($this->api);

$allArticles = $entity->getAll();

```

### Load Articles with a filter

[](#load-articles-with-a-filter)

```
$gateway = GatewayFactory::get('apiKey', $debug = true);
$api = new Api($gateway);

$allArticles = $entity->getAll([
    'brand' => $brand,
    'internetPublished' => 'true',
]);

```

### POST items

[](#post-items)

- Use `post` on an entity to push a single item to Becosoft

Examples
--------

[](#examples-1)

### POST Weborder

[](#post-weborder)

```
$gateway = GatewayFactory::get('apiKey', $debug = true);
$api = new Api($gateway);
$entity = new BecosoftApi\Entity\Weborder($this->api);

$weborder = new BecosoftApi\Model\Weborder;
$weborder->WeborderId = 1;

...
$result = $entity->post($weborder->toJson();

```

Currently you have to insert a JSON object yourself, which gives flexibility. The Weborder model is simply a helper model to make sure you insert fields with the correct name.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance54

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87.2% 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/b7e3e1dbf1349563371dca037785c04abe3865e7b3c9e88f8493ecadad571911?d=identicon)[stefandoorn](/maintainers/stefandoorn)

---

Top Contributors

[![stefandoorn](https://avatars.githubusercontent.com/u/4903082?v=4)](https://github.com/stefandoorn "stefandoorn (41 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")

### Embed Badge

![Health badge](/badges/stefandoorn-becosoft-fashionpro-nl-php-api/health.svg)

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

PHPackages © 2026

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