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

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

ergebnis/php-library-template
=============================

Provides a GitHub repository template for a PHP package with GitHub Actions workflows using standard PHP development tools.

310722[2 PRs](https://github.com/ergebnis/php-package-template/pulls)PHP

Since Aug 13Pushed 2w ago4 watchersCompare

[ Source](https://github.com/ergebnis/php-package-template)[ Packagist](https://packagist.org/packages/ergebnis/php-library-template)[ RSS](/packages/ergebnis-php-library-template/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (11)Used By (0)

php-package-template
====================

[](#php-package-template)

[![Integrate](https://github.com/ergebnis/php-package-template/actions/workflows/integrate.yaml/badge.svg?branch=main)](https://github.com/ergebnis/php-package-template/actions/workflows/integrate.yaml)[![Merge](https://github.com/ergebnis/php-package-template/actions/workflows/merge.yaml/badge.svg)](https://github.com/ergebnis/php-package-template/actions/workflows/merge.yaml)[![Release](https://github.com/ergebnis/php-package-template/actions/workflows/release.yaml/badge.svg)](https://github.com/ergebnis/php-package-template/actions/workflows/release.yaml)[![Renew](https://github.com/ergebnis/php-package-template/actions/workflows/renew.yaml/badge.svg)](https://github.com/ergebnis/php-package-template/actions/workflows/renew.yaml)

[![Code Coverage](https://camo.githubusercontent.com/685890a727748ca8da47728e86ecab16af61ad2b3d9fa258e9600c74f447d7f6/68747470733a2f2f636f6465636f762e696f2f67682f65726765626e69732f7068702d7061636b6167652d74656d706c6174652f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/ergebnis/php-package-template)

[![Latest Stable Version](https://camo.githubusercontent.com/d265538d1b44401b788fc15742aca5ba89b21ca34993c44b932a1297a271920b/68747470733a2f2f706f7365722e707567782e6f72672f65726765626e69732f7068702d7061636b6167652d74656d706c6174652f762f737461626c65)](https://packagist.org/packages/ergebnis/php-package-template)[![Total Downloads](https://camo.githubusercontent.com/1ba0b73881d4d6e9a4444ada30282748d1b5b2e1ee39d323f8428e390df768b7/68747470733a2f2f706f7365722e707567782e6f72672f65726765626e69732f7068702d7061636b6167652d74656d706c6174652f646f776e6c6f616473)](https://packagist.org/packages/ergebnis/php-package-template)[![Monthly Downloads](https://camo.githubusercontent.com/4000ea54d2159184ffc4e957c1c51e85119e56a661cc5cf9770947d48356cb73/687474703a2f2f706f7365722e707567782e6f72672f65726765626e69732f7068702d7061636b6167652d74656d706c6174652f642f6d6f6e74686c79)](https://packagist.org/packages/ergebnis/php-package-template)

This project provides a [GitHub repository template](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template) for a [`composer`](https://getcomposer.org) package with [GitHub Actions](https://docs.github.com/en/actions) workflows using standard PHP development tools.

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

[](#installation)

Run

```
composer require ergebnis/php-package-template
```

Usage
-----

[](#usage)

💡 This is a great place for showing a few usage examples!

Changelog
---------

[](#changelog)

The maintainers of this project record notable changes to this project in a [changelog](CHANGELOG.md).

Contributing
------------

[](#contributing)

The maintainers of this project suggest following the [contribution guide](.github/CONTRIBUTING.md).

Code of Conduct
---------------

[](#code-of-conduct)

The maintainers of this project ask contributors to follow the [code of conduct](.github/CODE_OF_CONDUCT.md).

General Support Policy
----------------------

[](#general-support-policy)

The maintainers of this project provide limited support.

PHP Version Support Policy
--------------------------

[](#php-version-support-policy)

This project currently supports the following PHP versions:

- [PHP 8.1](https://www.php.net/releases/#8.1.0) (has reached its end of life on December 31, 2025)
- [PHP 8.2](https://www.php.net/releases/#8.2.0)
- [PHP 8.3](https://www.php.net/releases/#8.3.0)
- [PHP 8.4](https://www.php.net/releases/#8.4.0)
- [PHP 8.5](https://www.php.net/releases/#8.5.0)

The maintainers of this project add support for a PHP version following its initial release and *may* drop support for a PHP version when it has reached its [end of life](https://www.php.net/supported-versions.php).

Security Policy
---------------

[](#security-policy)

This project has a [security policy](.github/SECURITY.md).

License
-------

[](#license)

This project uses the [MIT license](LICENSE.md).

Social
------

[](#social)

Follow [@localheinz](https://twitter.com/intent/follow?screen_name=localheinz) and [@ergebnis](https://twitter.com/intent/follow?screen_name=ergebnis) on Twitter.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance63

Regular maintenance activity

Popularity24

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cabc9efd157e2b47aa5aa9830180f5ebd07813cc3e93ff1a9993b2c3d264909?d=identicon)[localheinz](/maintainers/localheinz)

---

Top Contributors

[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (1357 commits)")[![ergebnis-bot](https://avatars.githubusercontent.com/u/59560144?v=4)](https://github.com/ergebnis-bot "ergebnis-bot (1207 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1121 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (206 commits)")[![bendavies](https://avatars.githubusercontent.com/u/625392?v=4)](https://github.com/bendavies "bendavies (16 commits)")[![Lctrs](https://avatars.githubusercontent.com/u/5477973?v=4)](https://github.com/Lctrs "Lctrs (14 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (2 commits)")[![spawnia](https://avatars.githubusercontent.com/u/12158000?v=4)](https://github.com/spawnia "spawnia (1 commits)")[![staabm](https://avatars.githubusercontent.com/u/120441?v=4)](https://github.com/staabm "staabm (1 commits)")

---

Tags

packagephptemplate

### Embed Badge

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

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

###  Alternatives

[brumann/polyfill-unserialize

Backports unserialize options introduced in PHP 7.0 to older PHP versions.

333.8M1](/packages/brumann-polyfill-unserialize)[nxp/russian-porter-stemmer

Russian porter stemmer

4592.1k1](/packages/nxp-russian-porter-stemmer)[cheprasov/php-parallel

The class allows you to run multiple operations parallel in different processes and send results to the main process. Useful if you need to run multiple independent operations simultaneously, instead of sequential execution, or if you run several independent queries, for example, queries to different data bases

1712.6k5](/packages/cheprasov-php-parallel)

PHPackages © 2026

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