PHP library to connect your applications to your Sellsy account account using the Sellsy API and build your websites and your platforms on the Sellsy technology.
Clone or download
frenchcomp #[2.0.4] - 2018-08-03
###Add
Add Supplier collection methods from Sellsy Api Documentation
Latest commit a985c1c Aug 4, 2018

README.md

Teknoo Software - Sellsy client

SensioLabsInsight Build Status

PHP library to connect your applications to your Sellsy account account using the Sellsy API and build your websites and your platforms on the Sellsy technology.

Simple Example

  <?php

  use GuzzleHttp\Client;
  use Teknoo\Sellsy\Transport\Guzzle;
  use Teknoo\Sellsy\Sellsy;

  include 'vendor/autoload.php';

  //Create the HTTP client
  $guzzleClient = new Client();

  //Create the transport bridge
  $transportBridge = new Guzzle($guzzleClient);

  //Create the front object
  $sellsy = new Sellsy(
      'https://apifeed.sellsy.com/0/',
      'User Token',
      'User Secret',
      'Consumer Token',
      'Consumer Secret'
  );

  $sellsy->setTransport($transportBridge);

  //Example of request, follow the API documentation of Sellsy API.
  print $sellsy->Infos()->getInfos()->getResponse()['consumerdatas']['id'].PHP_EOL;
  print $sellsy->AccountPrefs()->getCorpInfos()->getResponse()['email'].PHP_EOL;

How-to

Quick How-to to learn how use this library : Startup.

Installation & Requirements

To install this library with composer, run this command :

composer require teknoo/sellsy-client

To use the embedded Guzzle transport

composer require guzzlehttp/guzzle

This library requires :

* PHP 7+
* A PSR-7 implementation

Credits

Richard Déloge - richarddeloge@gmail.com - Lead developer. Teknoo Software - http://teknoo.software

About Teknoo Software

Teknoo Software is a PHP software editor, founded by Richard Déloge. Teknoo Software's DNA is simple : Provide to our partners and to the community a set of high quality services or software, sharing knowledge and skills.

License

Sellsy is licensed under the MIT Licenses - see the licenses folder for details

Contribute :)

You are welcome to contribute to this project. Fork it on Github