PHPackages                             fyui001/courage - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fyui001/courage

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

fyui001/courage
===============

Courage provides a wrapper class that extends the scalar type.

v2.0.4(1y ago)411.7kMITPHPPHP &gt;=8.3CI failing

Since Mar 26Pushed 1y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (3)Versions (7)Used By (0)

*Courage*
=========

[](#courage)

[![https://github.com/fyui001/courage/actions/workflows/phpunit.yml/badge.svg](https://github.com/fyui001/courage/actions/workflows/phpunit.yml/badge.svg)](https://github.com/fyui001/courage/blob/master/.github/workflows/phpunit.yml)[![Coverage Status](https://camo.githubusercontent.com/9091ab89c2b57ab9d755b3967bee7bcbd203a4e074348df6611fb5fe11a003e2/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f667975693030312f636f75726167652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/fyui001/courage?branch=master)

Courage provides a wrapper class that extends the scalar type.

Supported Environments
======================

[](#supported-environments)

courage supports and tests PHP8.1 and later.

The PHP versions tested by courage are as follows.

- PHP8.3 (windows-latest|ubuntu-latest|macos-latest)

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance49

Moderate activity, may be stable

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Recently: every ~121 days

Total

6

Last Release

379d ago

Major Versions

v1.0.0 → v2.0.02024-02-19

PHP version history (3 changes)v1.0.0PHP &gt;=7.4

v2.0.0PHP &gt;=8.1

v2.0.3PHP &gt;=8.3

### Community

Maintainers

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

---

Top Contributors

[![fyui001](https://avatars.githubusercontent.com/u/29496029?v=4)](https://github.com/fyui001 "fyui001 (64 commits)")

---

Tags

phpphp-extensionphp-librarytypescalar

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fyui001-courage/health.svg)

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

###  Alternatives

[phpoption/phpoption

Option Type for PHP

2.7k579.0M176](/packages/phpoption-phpoption)[deptrac/deptrac

Deptrac is a static code analysis tool that helps to enforce rules for dependencies between software layers.

3.0k8.8M118](/packages/deptrac-deptrac)[jetbrains/phpstorm-stubs

PHP runtime &amp; extensions header files for PhpStorm

1.4k32.7M83](/packages/jetbrains-phpstorm-stubs)[marc-mabe/php-enum

Simple and fast implementation of enumerations with native PHP

50458.3M110](/packages/marc-mabe-php-enum)[symfony/type-info

Extracts PHP types information.

20069.8M270](/packages/symfony-type-info)[ticketswap/phpstan-error-formatter

A minimalistic error formatter for PHPStan

87718.9k56](/packages/ticketswap-phpstan-error-formatter)

PHPackages © 2026

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