PHPackages                             richardhughes/php-boilerplate - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. richardhughes/php-boilerplate

ActiveProject[Testing &amp; Quality](/categories/testing)

richardhughes/php-boilerplate
=============================

Boilerplate code for new PHP projects

10PHP

Since Sep 26Pushed 7y ago1 watchersCompare

[ Source](https://github.com/richardhughes/php-boilerplate)[ Packagist](https://packagist.org/packages/richardhughes/php-boilerplate)[ RSS](/packages/richardhughes-php-boilerplate/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Boilerplate
===============

[](#php-boilerplate)

Create a brand new project with strict pre-commit rules and with boilerplate code to get you up and running within minutes!

Requirements
------------

[](#requirements)

Install XDebug and it to your `php.ini` file (Check `php --ini` for location)

`pecl install xdebug`

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

[](#installation)

Easiest way is via Composer:

```
composer create-project richardhughes/php-boilerplate

```

Or you can clone this repository and install dependencies

```
git clone https://github.com/richardhughes/php-boilerplate.git

```

Docker
------

[](#docker)

Start the docker PHP container: `docker-compose up -d`

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4634220?v=4)[Richie Hughes](/maintainers/richardhughes)[@richardhughes](https://github.com/richardhughes)

---

Top Contributors

[![richardhughes](https://avatars.githubusercontent.com/u/4634220?v=4)](https://github.com/richardhughes "richardhughes (13 commits)")

---

Tags

boilerplateboilerplate-applicationboilerplate-templatedockerdocker-composegrumphpphp7php72phpunitstarter-appstarter-kitstarter-projectstarter-templatestrictstrictmode

### Embed Badge

![Health badge](/badges/richardhughes-php-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/richardhughes-php-boilerplate/health.svg)](https://phpackages.com/packages/richardhughes-php-boilerplate)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14228.7M341](/packages/dms-phpunit-arraysubset-asserts)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8011.5k2](/packages/phpbenchmark-phpbenchmark)

PHPackages © 2026

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