cap60552/php-sip2
最新稳定版本:v1.0.0
Composer 安装命令:
composer require cap60552/php-sip2
包简介
PHP class library to facilitate communication with Integrated Library System (ILS) servers via 3M's SIP2.
README 文档
README
PHP class library to facilitate communication with Integrated Library System (ILS) servers via 3M's SIP2.
Composer Installation
To install this package, run this command:
composer require cap60552/php-sip2
General Installation
Copy the sip2.class.php file to a location in your php_include path.
General Usage
// create object
$mysip = new sip2;
// Set host name
$mysip->hostname = 'server.example.com';
$mysip->port = 6002;
// Identify a patron
$mysip->patron = '101010101';
$mysip->patronpwd = '010101';
// connect to SIP server
$result = $mysip->connect();
// Get Charged Items Raw response
$in = $mysip->msgPatronInformation('charged');
// parse the raw response into an array
$result = $mysip->parsePatronInfoResponse( $mysip->get_message($in) );
Contribution
Feel free to contribute!
统计信息
- 总下载量: 279.54k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 22
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2015-11-03