PHPackages                             php-etl/sylius-api-php-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. php-etl/sylius-api-php-client

ActiveLibrary[API Development](/categories/api)

php-etl/sylius-api-php-client
=============================

API client for Sylius API versions 1.6, 1.7, 1.9 and above.

1.2.4(5y ago)1325[1 PRs](https://github.com/php-etl/sylius-api-php-client/pulls)1OSL-3.0PHPPHP &gt;=7.1

Since Jun 22Pushed 1y agoCompare

[ Source](https://github.com/php-etl/sylius-api-php-client)[ Packagist](https://packagist.org/packages/php-etl/sylius-api-php-client)[ RSS](/packages/php-etl-sylius-api-php-client/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (15)Versions (13)Used By (1)

PHP Sylius PHP API client
=========================

[](#php-sylius-php-api-client)

A simple PHP client to use the [Sylius PHP API](https://docs.sylius.com/en/latest/api/).

*IMPORTANT:* Documentation is work in progress.

Compatibility matrix:

Sylius version(s)API PHP Client versionPHP requirementsCI status&gt;= 1.6 &lt;=1.7^1.0 (master)^7.31.8no support&gt;= 1.9^2.0^8.0Note that our PHP client is backward compatible with versions 1.6 and 1.7.

Usage for API v2 (Sylius &gt;= 1.9)
-----------------------------------

[](#usage-for-api-v2-sylius--19)

In Sylius versions 1.9 and later, you will be using the v2 API, or Unified API. This APU will expose 2 sections:

- the Shop API, for accessing data from the customer's point of view
- the Admin API, for accessing data from an administrator point of view

Additionally, you can activate the now deprecated v1 Admin API.

To create your client, there is a client builder for each API that will take care for you of the internals and dependency injection.

### Admin API usage

[](#admin-api-usage)

```
