PHPackages                             thelia/api-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. thelia/api-client

AbandonedLibrary[API Development](/categories/api)

thelia/api-client
=================

A php client for Thelia API

2.0.0(2y ago)1100.6k↓50%5[1 issues](https://github.com/thelia/thelia-api-client/issues)[1 PRs](https://github.com/thelia/thelia-api-client/pulls)GPL-3.0+PHPPHP &gt;=8.1

Since Dec 3Pushed 2y ago3 watchersCompare

[ Source](https://github.com/thelia/thelia-api-client)[ Packagist](https://packagist.org/packages/thelia/api-client)[ RSS](/packages/thelia-api-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

Thelia API client
=================

[](#thelia-api-client)

What is this ?
--------------

[](#what-is-this-)

This is a PHP client for [Thelia](https://github.com/thelia/thelia) API.

How to use it ?
---------------

[](#how-to-use-it-)

First, add `thelia/api-client` to your composer.json

```
{
    "require": {
        # ...
        "thelia/api-client": "~1.0"
    }
}
```

Then, create an instance of `Thelia\Api\Client\Client` with the following parameters:

```
$client = new Thelia\Api\Client\Client("my api token", "my api key", "http://mysite.tld");
```

You can access to your resources by using the 'do\*' methods

```
