PHPackages                             uwdoem/connection - 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. uwdoem/connection

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

uwdoem/connection
=================

Helper library for connecting to the university's x.509 secured web services

3.0.0(8y ago)0873↓88.9%[2 issues](https://github.com/UWEnrollmentManagement/Connection/issues)4PHP

Since Dec 16Pushed 8y ago2 watchersCompare

[ Source](https://github.com/UWEnrollmentManagement/Connection)[ Packagist](https://packagist.org/packages/uwdoem/connection)[ RSS](/packages/uwdoem-connection/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (9)Dependencies (5)Versions (10)Used By (4)

[![Build Status](https://camo.githubusercontent.com/0a8ca66bc1d7c1b2271e1ea7950ef398571408c248e45c7ecea9d696935d8eda/68747470733a2f2f7472617669732d63692e6f72672f5557456e726f6c6c6d656e744d616e6167656d656e742f436f6e6e656374696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/UWEnrollmentManagement/Connection)[![Code Climate](https://camo.githubusercontent.com/2984042e9fcef5afbc0a343dca501c6562f27186eb898f8a508a424f296f0b7c/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f5557456e726f6c6c6d656e744d616e6167656d656e742f436f6e6e656374696f6e2f6261646765732f6770612e737667)](https://codeclimate.com/github/UWEnrollmentManagement/Connection)[![Test Coverage](https://camo.githubusercontent.com/5b0f754f041062a0a5b5af57c1cf07a38b9660722e04d76a2d47182df5cb4e29/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f5557456e726f6c6c6d656e744d616e6167656d656e742f436f6e6e656374696f6e2f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/UWEnrollmentManagement/Connection/coverage)[![Latest Stable Version](https://camo.githubusercontent.com/d991cd3162712962b36846dd37b0a83a526791e8ff0f96498e6f2f50fd278550/68747470733a2f2f706f7365722e707567782e6f72672f7577646f656d2f636f6e6e656374696f6e2f762f737461626c65)](https://packagist.org/packages/uwdoem/connection)

UWDOEM/Connection
=================

[](#uwdoemconnection)

Connection is a PHP helper library for connecting to the university's x.509 secured web services. Connection is used by [uwdoem/person](https://github.com/UWEnrollmentManagement/Person) to connect to the university's person and student web services.

Installation
------------

[](#installation)

You can use *Connection* directly by including it in your `composer.json` file `require` statements:

```
  "require": {
    ...
    "uwdoem/connection": "2.*",
    ...
  },

```

Of course it is possible to use *Connection* without Composer by downloading it directly, but use of Composer to manage packages is highly recommended. See [Composer](https://getcomposer.org/) for more information.

Troubleshooting
---------------

[](#troubleshooting)

This library *will* throw warnings and exceptions when it recognizes an error. Turn on error reporting to see these. The following conditions will halt execution:

### cURL Error Code 77

[](#curl-error-code-77)

**Problem**: cURL cannot find the UWCA root certificate to verify the identify of the PWS/SWS servers.

**Solution**: Download the [.crt root CA bundle](http://curl.haxx.se/docs/caextract.html) to your server, ensure that your web-server process has read access to this bundle, and uncomment/edit the `curl.cainfo` line in your *php.ini* to reflect the location of this bundle.

### cURL Error Code 58

[](#curl-error-code-58)

**Problem**: cURL is having a problem using your private key.

**Solution**: You may have provided an incorrect private key password to `::createConnection`. If your private key requires a password, provide one, and ensure that it is correct.

### No such file found for SSL key/certificate

[](#no-such-file-found-for-ssl-keycertificate)

**Problem**: Connection cannot find the key and/or certificate at the path you provided to `::createConnection`.

**Solution**: Ensure that you provided the correct path to these files and that your web-server process has read-access to these files.

### Incorrect password for SSL key, but you're providing the correct SSL key password

[](#incorrect-password-for-ssl-key-but-youre-providing-the-correct-ssl-key-password)

**Problem**: This might be caused by a bug in the system cURL, which might cache your SSL keys; it seems that cURL can confuse these keys and use apply the wrong password to a key.

**Solution**: Only use one SSL key on one server, or make all SSL keys passwordless.

### Script execution halts/no output

[](#script-execution-haltsno-output)

**Problem**: This might be caused by an internal error in cURL while accessing your private key/certificate which causes PHP to die unexpectedly.

**Solution**: I was able to solve this by setting permissions on my key/certificate to read only. Specifically, I turned off write access for all parties.

Requirements
------------

[](#requirements)

- PHP 5.5, 5.6, 7.0
- cURL

Todo
----

[](#todo)

See GitHub [issue tracker](https://github.com/UWEnrollmentManagement/Connection/issues/).

Getting Involved
----------------

[](#getting-involved)

Feel free to open pull requests or issues. [GitHub](https://github.com/UWEnrollmentManagement/Connection) is the canonical location of this project.

Here's the general sequence of events for code contribution:

1. Open an issue in the [issue tracker](https://github.com/UWEnrollmentManagement/Connection/issues/).
2. In any order:

- Submit a pull request with a **failing** test that demonstrates the issue/feature.
- Get acknowledgement/concurrence.

3. Revise your pull request to pass the test in (2). Include documentation, if appropriate.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 90.3% 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

Every ~87 days

Recently: every ~159 days

Total

9

Last Release

3147d ago

Major Versions

1.0.0 → 2.0.02015-12-16

2.2.1 → 3.0.02017-11-15

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6137968?v=4)[JASchilz](/maintainers/JASchilz)[@JASchilz](https://github.com/JASchilz)

![](https://www.gravatar.com/avatar/290ab676b0d7a71324f5e5b1cd29b339cd379449c10bb721fd3f7d7d6b7571f1?d=identicon)[BonPacific](/maintainers/BonPacific)

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

---

Top Contributors

[![JASchilz](https://avatars.githubusercontent.com/u/6137968?v=4)](https://github.com/JASchilz "JASchilz (28 commits)")[![BonPacific](https://avatars.githubusercontent.com/u/3277713?v=4)](https://github.com/BonPacific "BonPacific (3 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/uwdoem-connection/health.svg)

```
[![Health](https://phpackages.com/badges/uwdoem-connection/health.svg)](https://phpackages.com/packages/uwdoem-connection)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.5k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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