PHPackages                             cap60552/php-sip2 - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. cap60552/php-sip2

ActiveLibrary[HTTP &amp; Networking](/categories/http)

cap60552/php-sip2
=================

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

v1.0.0(10y ago)22293.1k—5.7%11[1 PRs](https://github.com/cap60552/php-sip2/pulls)1GPL-3.0PHP

Since Nov 3Pushed 4y ago3 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (1)

SIP2 communication library for PHP
==================================

[](#sip2-communication-library-for-php)

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

Composer Installation
---------------------

[](#composer-installation)

To install this package, run this command:

```
composer require cap60552/php-sip2
```

General Installation
--------------------

[](#general-installation)

Copy the sip2.class.php file to a location in your php\_include path.

General Usage
-------------

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

[](#contribution)

Feel free to contribute!

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

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

Unknown

Total

1

Last Release

3850d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa72f8f4e42927625159fd7e4523017fa8fb112f95ae8a9ee11b2f43ae54bc59?d=identicon)[cap60552](/maintainers/cap60552)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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