PHPackages                             benjaminhaeberli/php-skeleton - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. benjaminhaeberli/php-skeleton

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

benjaminhaeberli/php-skeleton
=============================

✨ A modern PHP skeleton that includes CI/CD, PHPStan, Pest &amp; more.

v0.1.0(2y ago)16MITPHPPHP ^8.3.0

Since Apr 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/benjaminhaeberli/php-skeleton)[ Packagist](https://packagist.org/packages/benjaminhaeberli/php-skeleton)[ GitHub Sponsors](https://github.com/benjaminhaeberli)[ RSS](/packages/benjaminhaeberli-php-skeleton/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

 [![Skeleton Php](./.github/banner.png)](./.github/banner.png)

 [ ![GitHub Workflow Status (main)](https://github.com/benjaminhaeberli/php-skeleton/actions/workflows/tests.yml/badge.svg) ](https://github.com/benjaminhaeberli/php-skeleton/actions) [ ![Total Downloads](https://camo.githubusercontent.com/93c825854b2a7b4d8fc4c7c5153bdab9d4ee5624a79f5cf597d3d4373e52c080/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62656e6a616d696e6861656265726c692f7068702d736b656c65746f6e) ](https://packagist.org/packages/benjaminhaeberli/php-skeleton) [ ![GitHub Release](https://camo.githubusercontent.com/c0f3567d43fbe84e4c075a4827ee2b869a1f1ddca51491b54a3238797afa8d5b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f62656e6a616d696e6861656265726c692f7068702d736b656c65746f6e) ](https://github.com/benjaminhaeberli/php-skeleton/releases/latest) [ ![GitHub Release Date](https://camo.githubusercontent.com/e733353373d26629fd5cc0fd2ff15bc7de2d3cc4e446ca896e51984deb3b9bdb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f62656e6a616d696e6861656265726c692f7068702d736b656c65746f6e) ](https://github.com/benjaminhaeberli/php-skeleton/releases/latest) [ ![GitHub License](https://camo.githubusercontent.com/16687a7800db9a3d4f3d318ce13524250e3860e12b4106cc75d4a55b78e5f14c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f62656e6a616d696e6861656265726c692f7068702d736b656c65746f6e) ](https://github.com/benjaminhaeberli/php-skeleton/blob/main/LICENSE.md)

---

Getting started 🔎
-----------------

[](#getting-started-)

### Requirements

[](#requirements)

- **PHP [8.3+](https://php.net/releases/)**

### Installation

[](#installation)

You can [create a new repository on GitHub](https://github.com/new?template_name=php-skeleton&template_owner=benjaminhaeberli) or [download the ZIP](https://github.com/benjaminhaeberli/php-skeleton/archive/refs/heads/main.zip) of the latest release.

You can also install it using [composer](https://getcomposer.org) :

```
composer create-project benjaminhaeberli/php-skeleton --prefer-source YourApp
```

Then, install [composer](https://getcomposer.org) packages :

```
composer install
```

Commands ⌨️
-----------

[](#commands-️)

> More details in [composer.json](./composer.json)

### Common

[](#common)

🧹 Keep a modern codebase with [**Pint**](https://laravel.com/docs/11.x/pint) ([see default config](https://github.com/laravel/pint/blob/main/resources/presets/laravel.php))

```
composer pint
```

⚗️ Run static analysis using [**PHPStan**](https://phpstan.org/user-guide/command-line-usage)

```
composer phpstan
```

✅ Run unit tests using [**PEST**](https://pestphp.com/docs/writing-tests)

```
composer pest
```

🚀 Run the entire test suite

```
composer test
```

🧰 Validate `composer.json` and update dependencies

```
composer core:update
```

📈 Expose [code coverage](https://pestphp.com/docs/test-coverage) using [**PEST**](https://pestphp.com/docs/test-coverage) (*require XDEBUG in `coverage` mode*)

```
composer pest:coverage
```

### Code quality &amp; refactoring

[](#code-quality--refactoring)

💎 Measure the code quality with [**PHPInsights**](https://phpinsights.com/) *(see config\\insights.php)*

```
composer phpinsights
```

✅ Run refactors using [**Rector**](https://getrector.com/documentation)

```
composer rector
```

**PHP skeleton** is maintained by **[Benjamin Haeberli](https://twitter.com/1benjam1)** under the **[MIT license](https://opensource.org/licenses/MIT)**.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.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

Unknown

Total

1

Last Release

763d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1f0f1b83c1387fb7ef07a37846bc22f2f36f1f72fb68f012ee581b4a3a65e7c2?d=identicon)[benjaminhaeberli](/maintainers/benjaminhaeberli)

---

Top Contributors

[![benjaminhaeberli](https://avatars.githubusercontent.com/u/33510361?v=4)](https://github.com/benjaminhaeberli "benjaminhaeberli (15 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (1 commits)")

---

Tags

boilerplatepackagephpskeletonphppackageboilerplateSkeleton

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/benjaminhaeberli-php-skeleton/health.svg)

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

PHPackages © 2026

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