blackbaud/onsdk
Composer 安装命令:
composer require blackbaud/onsdk
包简介
PHP sdk for connecting to on api
README 文档
README
Features
- Provides easy-to-use HTTP clients for all supported ON API methods and authentication protocols.
- Currently built on Curl
- Provides authentication and simple token management
Getting Started
- Have a Web Service API user – Before you begin, you need to sign up for the onSDK and have a Manager account created.
- Minimum requirements – To run the SDK, your system will need to meet the [minimum requirements][docs-requirements], including having PHP >= 5.6 compiled with the cURL extension and cURL 7.16.2+ compiled with a TLS backend (e.g., NSS or OpenSSL).
- Install the SDK – Using Composer is the recommended way to install the
Blackbaud onSDK for PHP. The SDK is available via Packagist under the
blackbaud/onsdkpackage.
Quick Examples
Authenticate with API
<?php // Require the Composer autoloader. require 'vendor/autoload.php'; use Blackbaud\onSDK\onApiClient; // Instantiate a Blackbaud Client. $bb = new onApiClient('SchoolUrl','Username','Password');
Get User Info
<?php // get info about the current user account using the SDK. try { $user = $bb->get_current_user(); print_r($user); } catch (Exception $e) { echo "There was an error getting user info.\n"; }
blackbaud/onsdk 适用场景与选型建议
blackbaud/onsdk 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 85 次下载、GitHub Stars 达 2, 最近一次更新时间为 2017 年 03 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 blackbaud/onsdk 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 blackbaud/onsdk 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 85
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2017-03-07