PHPackages                             stan-business/stan-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. [HTTP &amp; Networking](/categories/http)
4. /
5. stan-business/stan-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

stan-business/stan-php
======================

Stan Client Library for PHP

v1.3.3(1y ago)22.3k1MITPHPPHP ^7.1 || ^8.0

Since Jul 20Pushed 1y agoCompare

[ Source](https://github.com/stan-business/stan-php)[ Packagist](https://packagist.org/packages/stan-business/stan-php)[ Docs](https://doc.stan-app.fr)[ RSS](/packages/stan-business-stan-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (11)Versions (20)Used By (1)

Stan Client PHP
===============

[](#stan-client-php)

[Stan Client API for PHP](https://doc.stan-app.fr)

Installation &amp; Usage
------------------------

[](#installation--usage)

### Requirements

[](#requirements)

PHP 7.1 and later. Should also work with PHP 8.0 but has not been tested.

*This library implement `php-http` (HTTPPlug) to let you use your own http client with `adapter`*[HTTPlug](https://docs.php-http.org/en/latest/index.html) is an abstraction that allows this library to support many different HTTP Clients. Therefore, you need to provide it with an adapter for the HTTP library you prefer. You can find all the available adapters in Packagist. This documentation assumes you use the Guzzle5 Client, but you can replace it with any adapter that you prefer.

The recommended way to install `stan-business/stan-php` is through Composer:

`composer require stan-business/stan-php php-http/guzzle5-adapter`

### Composer

[](#composer)

To install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
    }
  ],
  "require": {
    "stan-business/stan-php": "*@master"
  }
}
```

Then run `composer install`

### Manual Installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
