examinecom/php-sip2-plus
最新稳定版本:v1.0.0
Composer 安装命令:
composer require examinecom/php-sip2-plus
包简介
PHP class library to facilitate communication with Integrated Library System (ILS) servers via 3M's SIP2.
README 文档
README
📚 PHP SIP2 Plus
Overview
PHP SIP2 Plus is a maintained and improved implementation of the SIP2 protocol used by Integrated Library Systems (ILS) for communication with self-check machines, circulation systems, and other library services.
This library builds on the original php-sip2 project by John Wohlers, extending it with:
- ✅ TLS support — works with both raw sockets and TLS/SSL
- ✅ Extensible transport layer — easily integrate new connection types
- ✅ Clean, object-oriented API for sending and parsing SIP2 messages
- ✅ Composer support and PSR-compliant structure
- ✅ Actively maintained by Examine.com
Why this library?
Many existing SIP2 PHP clients are outdated, limited to plain socket connections, or hard to extend.
This version offers a modern architecture that makes it easy to adapt to different network environments, integrate with secure servers, and extend protocol behavior as needed.
Installation
You can install the package via Composer:
composer require examinecom/php-sip2-plus
Example
$sip2 = new Sip2Wrapper( array( 'hostname' => 'sip-demo.evergreen-ils.org', 'port' => 6443, 'location' => 'CONS', 'institutionId' => 'sample', 'useTls' => true, ) ); $sip2->connect(); $sip2->login('admin', 'demo123'); $sip2->startPatronSession('88882000000028', 'demo123');
Credits
- Original implementation by John Wohlers
Sip2Wrapperby Nathan Johnson
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2025-11-05
