PHPackages                             danbettles/php-project-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. danbettles/php-project-template

ActiveProject

danbettles/php-project-template
===============================

v3.0.0(2mo ago)038↓100%ISCPHPPHP ^8.3

Since Mar 27Pushed 2mo ago1 watchersCompare

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

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

PHP Project Template
====================

[](#php-project-template)

A most basic PHP project template with [PHPUnit](https://phpunit.de/), [PHPStan](https://phpstan.org/), and [PHP\_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer/?tab=readme-ov-file#php_codesniffer) ready to roll. The project will be [ISC-licensed](https://en.wikipedia.org/wiki/ISC_license) by default.

Additionally, the following Composer scripts are included to help you quickly get going.

- `composer app:dev:test`: runs the PHPUnit unit tests
- `composer app:dev:analyse`: runs PHPStan at level 11
- `composer app:dev:lint`: runs PHP\_CodeSniffer
- `composer app:dev:check-quality`: runs the PHPUnit unit tests, PHPStan, and then PHP\_CodeSniffer

Instructions
------------

[](#instructions)

Run the following to create the skeleton of your new project.

```
composer create-project danbettles/php-project-template
```

Important

Replace `` with the actual path of the directory to create

In the new project:

- In `composer.json`:
    - Update `name`
    - If need be, update `description`
    - Check/update `type`
    - Update `authors`
- Except in `phpcs.xml`, replace "DanBettles"—match case, match whole word—with your vendor namespace
- Replace "PhpProjectTemplate"—match case, match whole word—with the namespace of your app
- Run `composer update`
- Update the year and name in `LICENSE`
- Rewrite this file
- Start building from `tests/SomethingTest.php` and `src/Something.php`

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance86

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity70

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

Total

4

Last Release

79d ago

Major Versions

v1.1.0 → v2.0.02024-11-03

v2.0.0 → v3.0.02026-01-02

PHP version history (3 changes)v1.0.0PHP ^7.4

v1.1.0PHP ^7.4|^8.1.3

v2.0.0PHP ^8.3

### Community

Maintainers

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

---

Top Contributors

[![danbettles](https://avatars.githubusercontent.com/u/736672?v=4)](https://github.com/danbettles "danbettles (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/danbettles-php-project-template/health.svg)

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

PHPackages © 2026

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