grow-services/growclient-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

grow-services/growclient-php

最新稳定版本:v1.0

Composer 安装命令:

composer require grow-services/growclient-php

包简介

GROW-Services.net client library for PHP

README 文档

README

Official GROW-Services.net client library for PHP

Install

You can install the through the composer.

{
    "require": {
        "grow-services/growclient-php": "dev-master"
    }
}    

Usage

    use GrowClient;
    use GrowChart\Common\Pregnancy;
    
    
    // This factory can get all client. rest xml and soap.
    $client = ClientFactory::getInstance()->getClient('rest', $apikey, $apisecret);
    
    $preg = new Pregnancy();
    
    $preg->setEdd($edd);
    $preg->setEthnicity($eoc->client->spirit_ethnicity->toString());
    $preg->setParity($para);
    $preg->setMaternalheight($length);
    $preg->setMaternalweight($weight);
    $preg->setGrowchartversion($version);
    $preg->setGrowchartid($growchartid);
    
    $chart = $client->registerPregnancy($preg);
    
    print_r($chart);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-12-02