PHPackages                             examinecom/php-sip2-plus - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. examinecom/php-sip2-plus

ActiveLibrary

examinecom/php-sip2-plus
========================

PHP class library to facilitate communication with Integrated Library System (ILS) servers via 3M's SIP2.

v1.0.0(6mo ago)050↓25%GPL-3.0PHPPHP ^8.2.0CI passing

Since Nov 5Pushed 6mo agoCompare

[ Source](https://github.com/examinecom/php-sip2-plus)[ Packagist](https://packagist.org/packages/examinecom/php-sip2-plus)[ Docs](https://github.com/examinecom/php-sip2-plus)[ RSS](/packages/examinecom-php-sip2-plus/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (3)Used By (0)

[![Examine.com](./doc/examine-logo.png)](./doc/examine-logo.png)

📚 PHP SIP2 Plus
===============

[](#-php-sip2-plus)

---

Overview
--------

[](#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`](https://github.com/cap60552/php-sip2) project by [John Wohlers](https://github.com/cap60552), 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](https://examine.com)

---

Why this library?
-----------------

[](#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
------------

[](#installation)

You can install the package via Composer:

```
composer require examinecom/php-sip2-plus
```

Example
-------

[](#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
-------

[](#credits)

- Original implementation by [John Wohlers](https://github.com/cap60552)
- `Sip2Wrapper` by [Nathan Johnson](https://nathanjohnson.info/)

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance68

Regular maintenance activity

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

185d ago

Major Versions

v0.0.1 → v1.0.02025-11-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/513cd348f3063666f3ac7c5a81d892adc1c13d883ff14d452e8ae74619797943?d=identicon)[examinecom](/maintainers/examinecom)

---

Top Contributors

[![cap60552](https://avatars.githubusercontent.com/u/4206690?v=4)](https://github.com/cap60552 "cap60552 (3 commits)")[![logitick](https://avatars.githubusercontent.com/u/807325?v=4)](https://github.com/logitick "logitick (3 commits)")[![demiankatz](https://avatars.githubusercontent.com/u/309069?v=4)](https://github.com/demiankatz "demiankatz (1 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/examinecom-php-sip2-plus/health.svg)

```
[![Health](https://phpackages.com/badges/examinecom-php-sip2-plus/health.svg)](https://phpackages.com/packages/examinecom-php-sip2-plus)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
