josbeir / shopwedo-php-api
Shop-we-do PHP api wrapper
Installs: 130
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
pkg:composer/josbeir/shopwedo-php-api
Requires
- php: >=5.6
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is not auto-updated.
Last update: 2025-09-28 11:29:47 UTC
README
There is now an official php package to access the API:
https://bitbucket.org/shopwedo/shopwedo-api-php/src/master/
ShopWeDo PHP Api
ShopWeDo PHP Api wrapper for use with the ShopWeDo REST api.
Installation
The library can be installed with Composer. Run this command:
composer require josbeir/shopwedo-php-api
Usage example
require_once __DIR__ . '/vendor/autoload.php'; // change path as needed $client = new \Shopwedo\Shopwedo([ 'shop_id' => '_myid_', 'api_key' => '_mykey_' ]); try { $stock = $client->getStock(); // .... } catch (\Shopwedo\Exceptions\ShopwedoResponseException $e) { echo 'Error while making request '. $e->getMessage(); }