定制 webweave/magento2-sdk 二次开发

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

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

webweave/magento2-sdk

Composer 安装命令:

composer require webweave/magento2-sdk

包简介

A proper Magento 2 rest api sdk

README 文档

README

A proper sdk for Magento 2 rest api

WARNING

This piece of software is provided without warranty of any kind, use it at your own risk.

DONE FOR NOW

  • Customer groups
  • Customers

REQUIREMENTS

php-curl needs to be installed.

USAGE

Installation

Best way is to use composer

    $ composer require webweave/magento2-sdk

Basic Code examples

<?php

use WebWeave\Magento2SDK\ApiClient;
use WebWeave\Magento2SDK\CustomerGroups;

//Initialize client
$apiClient = new ApiClient('https://magento2.shop/', 'AdminUserName', "AdminPassword");

//Get and set Bearer token in the client
$apiClient->getToken();

//Create a customer group
$customerGroup = new CustomerGroups($apiClient);

$data = array("group" => array(
	"code" => "I am made by the magento2-sdk :D"
));

$customerGroup->createCustomerGroup($data);

统计信息

  • 总下载量: 22
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固