PHPackages                             psinfoodservice/psinfoodserviceapi - 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. psinfoodservice/psinfoodserviceapi

ActiveLibrary[API Development](/categories/api)

psinfoodservice/psinfoodserviceapi
==================================

A comprehensive PHP client library for the PS in foodservice Web API

v1.1.0(1mo ago)117MITPHPPHP &gt;=8.0

Since Apr 2Pushed 1mo agoCompare

[ Source](https://github.com/Ps-in-foodservice/psinfoodservice-php-package)[ Packagist](https://packagist.org/packages/psinfoodservice/psinfoodserviceapi)[ RSS](/packages/psinfoodservice-psinfoodserviceapi/feed)WikiDiscussions main Synced 1mo ago

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

PS in foodservice API Client for PHP
====================================

[](#ps-in-foodservice-api-client-for-php)

A comprehensive PHP client library for the PS in foodservice Web API (v7). This package simplifies integration with PS in foodservice services by providing a clean, type-safe interface for all API endpoints.

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

[](#installation)

```
composer require psinfoodservice/psinfoodserviceapi
```

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

[](#requirements)

- PHP 8.0 or higher
- Composer
- PS in foodservice account with API access

Key Features
------------

[](#key-features)

- Full API endpoint coverage (~95%)
- **Async/Concurrent requests** - Execute multiple API calls in parallel
- **Response caching** - Built-in caching for master/reference data
- **Request/Response logging** - Middleware for debugging and monitoring
- **Automatic token refresh** - Seamless token management
- **Retry with exponential backoff** - Resilient request handling
- **Rate limit handling** - Auto-wait on 429 responses
- Comprehensive error handling with trace IDs

Documentation
-------------

[](#documentation)

For complete API documentation, visit the [PS in foodservice API Documentation](http://webapi.psinfoodservice.com/v7/swagger/index.html).

Modules
-------

[](#modules)

ModuleDescription**authentication**Login, logout, token management, webhooks**webApi**Core product data operations**lookups**Track product updates (GTIN, PSID, ArticleNumber, etc.)**brands**Brand information and management**masters**Reference data (allergens, nutrients, countries, etc.)**assortment**Assortment list management**assets**Asset (image/document) information**relations**Producer and brand owner information**files**File and image retrieval**impactScore**Environmental impact scoring**validation**Product data validation**mijnPS**MijnPS operations (assortment uploads)**helper**Utility methods for data processingQuick Start
-----------

[](#quick-start)

```
