定制 artincms/phpsdk-sleekshop 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-11-24