PHPackages                             openthc/common - 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. openthc/common

ActiveLibrary

openthc/common
==============

OpenTHC Common Library

v2023.1.0(3y ago)23.5k↓33.3%1GPL-3.0-onlyPHPPHP &gt;=7.3.0

Since Feb 22Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/openthc/common)[ Packagist](https://packagist.org/packages/openthc/common)[ RSS](/packages/openthc-common/feed)WikiDiscussions main Synced 2mo ago

READMEChangelog (2)Dependencies (15)Versions (6)Used By (0)

Common Library
==============

[](#common-library)

This package includes a number of common configuration files, PHP classes and functions, Slim components and Twig templates.

Lib
---

[](#lib)

This directory is autoloaded, all the classes are in the **OpenTHC** namespace.

Slim
----

[](#slim)

There are some Slim components included as well

- OpenTHC\\App - a Slim App
- OpenTHC\\Middleware\\Base
- OpenTHC\\Middleware\\CORS
- OpenTHC\\Middleware\\Log
- OpenTHC\\Middleware\\RateLimit
- OpenTHC\\Middleware\\Session
- OpenTHC\\Controller\\Base
- OpenTHC\\Controller\\OAuth2

Twig
----

[](#twig)

Adds the `./vendor/openthc/twig` path to the Twig loader. We also provide some wrapper templates for `home.html` and `page-app.html`

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance54

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

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

2

Last Release

1178d ago

### Community

Maintainers

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

---

Top Contributors

[![djbusby](https://avatars.githubusercontent.com/u/3802734?v=4)](https://github.com/djbusby "djbusby (311 commits)")[![mashiox](https://avatars.githubusercontent.com/u/308284?v=4)](https://github.com/mashiox "mashiox (19 commits)")

---

Tags

middlewarephp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/openthc-common/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[opentok/opentok

OpenTok is a platform for creating real time streaming video applications, created by TokBox.

1413.0M10](/packages/opentok-opentok)[pusher/pusher-push-notifications

562.5M9](/packages/pusher-pusher-push-notifications)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)

PHPackages © 2026

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