PHPackages                             uottawamedtech/tincan - 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. [API Development](/categories/api)
4. /
5. uottawamedtech/tincan

ActiveLibrary[API Development](/categories/api)

uottawamedtech/tincan
=====================

A fork of the original Tin Can API Library, adapted to query from Saltbox's Wax LRS

0.11.3(11y ago)0310Apache-2.0PHPPHP &gt;=5.4.0

Since Mar 4Pushed 10y ago2 watchersCompare

[ Source](https://github.com/uOttawaMedtech/TinCanPHP)[ Packagist](https://packagist.org/packages/uottawamedtech/tincan)[ Docs](http://rusticisoftware.github.io/TinCanPHP/)[ RSS](/packages/uottawamedtech-tincan/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (12)Used By (0)

A fork of the [original TinCanPHP library](https://github.com/RusticiSoftware/TinCanPHP), adapted to query statements from Saltbox's Wax LRS. For details on the problem and the implemented solution, see the [discussion over in the original project](https://github.com/RusticiSoftware/TinCanPHP/pull/17).

[![Build Status](https://camo.githubusercontent.com/fe7e7a1379e9a67d7962feeec4e8f1989b9a776aba002fc6c4e12eecf1f95f07/68747470733a2f2f7472617669732d63692e6f72672f754f74746177614d6564746563682f54696e43616e5048502e737667)](https://travis-ci.org/uOttawaMedtech/TinCanPHP)

For hosted API documentation, basic usage instructions, supported version listing, etc. visit the main project website at:

For more information about the Tin Can API visit:

Requires PHP 5.4 or later. (If you must run something older you should look at the PHP\_5\_2 branch.)

### Installation

[](#installation)

This fork of TinCanPHP is available via [Composer](http://getcomposer.org).

```
php composer.phar require uottawamedtech/tincan:~0.0

```

With the package installed require the Composer autoloader:

```
require 'vendor/autoload.php';
```

### Testing

[](#testing)

Tests are implemented using PHPUnit. Configure the LRS endpoint and credentials by copying the `tests/Config.php.template` to `tests/Config.php` then setting the values for your LRS.

Once configured run:

```
phpunit tests

```

### API Doc Generation

[](#api-doc-generation)

Documentation can be output using [phpDocumentor2](http://phpdoc.org). It will be installed when using Composer. To generate documentation:

```
./vendor/bin/phpdoc.php

```

From the root of the repository after running `php composer.phar update`. Documentation will be output to `doc/api`.

If you do not have the default timezone set in your `php.ini` file you can create one in the base of the repo and use the `PHPRC` environment variable to point to it. Use something like:

```
export PHPRC="/path/to/repos/TinCanPHP/php.ini"

```

And set the timezone in that file using:

```
[PHP]

date.timezone = "US/Central"

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.1% 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 ~15 days

Recently: every ~32 days

Total

10

Last Release

4364d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/104179?v=4)[Pascal Laliberte](/maintainers/pascallaliberte)[@pascallaliberte](https://github.com/pascallaliberte)

---

Top Contributors

[![brianjmiller](https://avatars.githubusercontent.com/u/95960?v=4)](https://github.com/brianjmiller "brianjmiller (43 commits)")[![bscSCORM](https://avatars.githubusercontent.com/u/732452?v=4)](https://github.com/bscSCORM "bscSCORM (4 commits)")[![garemoko](https://avatars.githubusercontent.com/u/1363163?v=4)](https://github.com/garemoko "garemoko (2 commits)")[![ht2](https://avatars.githubusercontent.com/u/1352590?v=4)](https://github.com/ht2 "ht2 (2 commits)")[![Klaasie](https://avatars.githubusercontent.com/u/3026259?v=4)](https://github.com/Klaasie "Klaasie (2 commits)")

---

Tags

scorme-learningxAPIExperience APItincantin can

### Embed Badge

![Health badge](/badges/uottawamedtech-tincan/health.svg)

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

###  Alternatives

[rusticisoftware/tincan

Experience API (Tin Can API) Library

87845.6k3](/packages/rusticisoftware-tincan)[php-xapi/client

client library for the Experience API (xAPI)

2345.5k](/packages/php-xapi-client)[rustici-software/scormcloud-api-v2-client-php

20278.3k](/packages/rustici-software-scormcloud-api-v2-client-php)

PHPackages © 2026

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