PHPackages                             benjaminmal/library-template - 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. benjaminmal/library-template

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

benjaminmal/library-template
============================

Benjaminmal library template

v2.0.0(3y ago)09[1 PRs](https://github.com/benjaminmal/library-template/pulls)MITPHPPHP ^8.0

Since Nov 11Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/benjaminmal/library-template)[ Packagist](https://packagist.org/packages/benjaminmal/library-template)[ RSS](/packages/benjaminmal-library-template/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (7)Versions (14)Used By (0)

Library template
================

[](#library-template)

Installation &amp; usage
------------------------

[](#installation--usage)

1. Create your library

```
$ composer create-project benjaminmal/library-template my-library
```

2. Modify composer.json to fit with your library

```
{
  "name": "my-org/my-library",
  "description": "My library",
  "type": "library",
  "autoload": {
    "psr-4": {
      "MyNamespace\\MyLibrary\\": "lib/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "MyNamespace\\MyLibrary\\Tests\\": "tests/"
    }
  }
}
```

3. Initialize git

```
$ git init
```

4. Enjoy!!

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance60

Regular maintenance activity

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 65.8% 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 ~42 days

Recently: every ~73 days

Total

8

Last Release

1350d ago

Major Versions

v1.1.1 → v2.0.02022-09-05

PHP version history (2 changes)v1.0.1PHP ^7.4 || ^8.0

v1.1.0PHP ^8.0

### Community

Maintainers

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

---

Top Contributors

[![benjaminmal](https://avatars.githubusercontent.com/u/58468686?v=4)](https://github.com/benjaminmal "benjaminmal (48 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (19 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/benjaminmal-library-template/health.svg)

```
[![Health](https://phpackages.com/badges/benjaminmal-library-template/health.svg)](https://phpackages.com/packages/benjaminmal-library-template)
```

PHPackages © 2026

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