定制 givey/givey 二次开发

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

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

givey/givey

最新稳定版本:v0.2

Composer 安装命令:

composer require givey/givey

包简介

PHP library for https://api.givey.com

README 文档

README

This is a preview release so please use at your own risk and report any issues you may experience. Contact Givey Support if you have any questions.

Build Status Downloads Version Licence

Usage

Install

{
    "require": {
        "givey/givey" : "*"
    }
}

Setup Resource and Adapter

use Givey\Adapter\Buzz;
use Givey\Resource;

Resource::setAdapter(new Buzz($token));

Users

use Givey\User;

User::retrieve('scott'); // Givey\Entity\User
User::all(array('business_id' => 100); // array(Givey\Entity\User, Givey\Entity\User)

Businesses

use Givey\Business;

$business = Business::retrieve('giveybiz'); // Givey\Entity\Business
$business->employees(); // array(Givey\Entity\User, Givey\Entity\User)

Charities

use Givey\Charity;

Charity::retrieve('dogstrust'); // Givey\Entity\Charity
Charity::all(array('business_id' => 100); // array(Givey\Entity\Charity, Givey\Entity\Charity)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-03-12