PHPackages                             hackthissite/ostiaryclient - 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. [Caching](/categories/caching)
4. /
5. hackthissite/ostiaryclient

ActiveLibrary[Caching](/categories/caching)

hackthissite/ostiaryclient
==========================

PHP client library for the HackThisSite Ostiary session token manager

v0.2.0(8y ago)129MITPHPPHP &gt;=5.5.0 || &gt;=7.0

Since May 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/HackThisSite/Ostiary-Client-PHP)[ Packagist](https://packagist.org/packages/hackthissite/ostiaryclient)[ RSS](/packages/hackthissite-ostiaryclient/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (8)Versions (5)Used By (0)

Ostiary Client (PHP library)
============================

[](#ostiary-client-php-library)

This library provides a PHP client for the [Ostiary session manager](https://github.com/HackThisSite/Ostiary).

[![Build Status](https://camo.githubusercontent.com/23677c9e50d1249365bd09d862db194049e72c754a5020b5bfe91d6c07fc6ed2/68747470733a2f2f7472617669732d63692e6f72672f4861636b54686973536974652f4f7374696172792d436c69656e742d5048502e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/HackThisSite/Ostiary-Client-PHP)[![Dependency Status](https://camo.githubusercontent.com/5f5cc031759466db9d2737b27477c16205e0cc345fd25140cf201a6bb135f074/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3561656464376634306662323466353433303761343736372f62616467652e7376673f7374796c653d666c61742d737175617265)](https://www.versioneye.com/user/projects/5aedd7f40fb24f54307a4767)

**Note**: This library can be used stand-alone from an [Ostiary server](https://github.com/HackThisSite/Ostiary), or can directly interact with the Redis backend of an Ostiary server. However, doing this grants full access to the Redis backend and circumvents the access controls the Ostiary server provides.

Description
-----------

[](#description)

[Ostiary](https://github.com/HackThisSite/Ostiary) is a simple session token manager that can be used for a variety of use cases, acting as an authenticated and authorized wrapper around a Redis store. Sessions are identified and validated using JSON Web Tokens, and scoped data buckets offer the additional ability to store session meta-data (such as username, email, timezone, etc.).

This PHP client library is used to either interface with an Ostiary server, or work stand-alone.

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

[](#installation)

Install this library using the [composer](https://getcomposer.org/) PHP package manager:

```
composer require "hackthissite/ostiaryclient"
```

For usage, see the documentation section below.

Documentation
-------------

[](#documentation)

- [Quickstart](doc/) - Overview and quickstart
- [Class API](doc/api/) - Documentation for the end-user classes of the Ostiary PHP client

Development
-----------

[](#development)

Navigate into the directory where you cloned the Git repository. Install dependencies using the [composer](https://getcomposer.org/) PHP package manager:

```
composer install
```

### Generating documentation

[](#generating-documentation)

1. Delete the contents of the `doc/api/` folder
2. Run the command: `vendor/bin/phpdoc-md`

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~2 days

Total

4

Last Release

2924d ago

PHP version history (2 changes)v0.1.0PHP &gt;=5.4.0

v0.1.1PHP &gt;=5.5.0 || &gt;=7.0

### Community

Maintainers

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

---

Top Contributors

[![Kage](https://avatars.githubusercontent.com/u/210263?v=4)](https://github.com/Kage "Kage (26 commits)")

---

Tags

ostiaryphpredissessionsession-management

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hackthissite-ostiaryclient/health.svg)

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[pdffiller/qless-php

PHP Bindings for qless

29113.2k1](/packages/pdffiller-qless-php)[exinone/mixin-sdk-php

Mixin-Network SDK for PHP, modify from ExinOne/laravel-mixin-sdk

242.5k4](/packages/exinone-mixin-sdk-php)

PHPackages © 2026

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