The Shopware-Client package defines an object-oriented layer for connections with Shopware-API.
$connection = new \Shopbase\ShopwareClient\Connection(
'myUsername',
'myKey',
'http://example.com',
'api'
);
$client = new \Shopbase\ShopwareClient\Client($connection);
$result = $client->get(\Shopbase\ShopwareClient\Resources\Customer::class, 1)->toObject();
[Master-Build]
- Added timeout
[1.0]
- Initial commit of package