artincms/phpsdk-sleekshop
最新稳定版本:v2.0.1
Composer 安装命令:
composer require artincms/phpsdk-sleekshop
包简介
Sleekshop PHP SDK for the Sleekshop API
关键字:
README 文档
README
This is the official Sleekshop PHP SDK for the Sleekshop API. It is a wrapper around the Sleekshop API, which provides a simple way to interact with the API.
Sleekshop is a cloudbased e-commerce platform which allows you to deploy e-commerce functionality via API into your projects no matter what kind of programming - language you want to use, or which devices you want to address.
More about Sleekshop can be found at https://www.sleekshop.io
Documentation
For more information about the Sleekshop API, please refer to the official documentation.
Installation
Using composer
composer require sleekcommerce/sleekshop-phpsdk-json:v2
Usage
1. Setup SDK
include 'vendor/autoload.php'; use Sleekshop\sleekSDK; use Sleekshop\Options\DefaultOptions; // optional // optional $defaultOptions = new DefaultOptions( 'de_DE', // default language if not provided in call 'sleekshop', // token e.g. cookie name 100, // product image thumbnail height 'id' // chaining field ); $sleekshop = new sleekSDK( 'https://<yourInstance>.sleekshop.net/srv/service/', '<licence_username>', '<licence_password>', '<licence_secret_key>', // optional but required for some operations $defaultOptions // optional );
2. Interact with the API
$session = $sleekshop->SessionCtl()->GetSession();
License
This project is licensed under the MIT License - see the LICENSE file for details.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-24