PHPackages                             puritandesigns/expotition - 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. puritandesigns/expotition

ActiveLibrary

puritandesigns/expotition
=========================

Classes to build a gamebook story

v0.2(7y ago)19GPL-3.0PHP

Since Nov 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/puritandesigns/expotition)[ Packagist](https://packagist.org/packages/puritandesigns/expotition)[ RSS](/packages/puritandesigns-expotition/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Expotition
==========

[](#expotition)

PHP classes to build a Gamebook story.

[View a slideshow from a TrianglePHP Meetup](http://puritandesigns.com/expotition/)

Getting Started
---------------

[](#getting-started)

1. Run `composer require puritandesigns/expotition`
2. Require composer's autoload and create an adventure: `$adventure = new Adventure();`
3. Create settings that have actions:

```
$town = new Setting(
    $adventure,
    'Town',
    'You find yourself in a small town bustling with activity.',
);

$tavern = new Setting(
    $adventure,
    'Tavern',
    'You are in a single-room tavern.',
    new Actions(
        new SimpleResponseAction(
            'Talk to Bartender',
            $adventure,
            'The Bartender grunts, "Welcome to my pub."'
        ),
        new LeaveAction(
            'Head outside',
            $adventure,
            $town
        )
    )
);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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 ~99 days

Total

2

Last Release

2624d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/302bae806db7fc65d2d087457eea9b0de93f91818ced70910c4bad6887df46f0?d=identicon)[puritandesigns](/maintainers/puritandesigns)

---

Top Contributors

[![puritandesigns](https://avatars.githubusercontent.com/u/1065613?v=4)](https://github.com/puritandesigns "puritandesigns (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/puritandesigns-expotition/health.svg)

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

PHPackages © 2026

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