2017 © Pedro Peláez
 

library baas

gxchain baas sdk implemented in php.

image

gxchain/baas

gxchain baas sdk implemented in php.

  • Thursday, May 31, 2018
  • by shinan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

baas-sdk-php

Introduction

This is a php library. If you just enjoy the BaaS service. you can go to BaaS API., (*1)

Storage Usage

composer require "gxchain/baas-sdk-php"


use GXChain\BaaS\BaaSClient; $config = [ 'url' => [ 'fee' => 'https://baas-developer.gxchain.cn/api/storage/provider/', 'store' => 'https://baas-developer.gxchain.cn/api/storage/store/', 'get' => 'https://baas-developer.gxchain.cn/api/storage/data/', ], 'base' => [ 'from' => '1.2.XXX', 'to' => '1.2.241', 'proxyAccount' => '1.2.241', 'percent' => 0, 'assetId' => '1.3.1', 'privateKey' => 'XXX', ], ]; $obj = new BaaSClient($config); //store $res = $obj->store('hello gxs php ssdk v1.0.1'); echo $res; //storeGet // $cid = 'Qmb3eECKK9rAJbG7BpFgGxeSFDH9nkie6XugxJJUqVQUUK'; // $res = $obj->storeGet($cid); // echo $res;

The Versions

31/05 2018

dev-master

9999999-dev

gxchain baas sdk implemented in php.

  Sources   Download

MIT

The Requires

  • php >=7.0.0

 

by 石楠