PHPackages                             php-forge/baseline - 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. php-forge/baseline

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

php-forge/baseline
==================

Centralized PHP development baseline: code style, linters, CI workflows, and dev environment tooling.

0.1.2(3w ago)14.4k—5.4%6BSD-3-ClausePHP &gt;=8.3CI passing

Since May 5Pushed 3w agoCompare

[ Source](https://github.com/php-forge/baseline)[ Packagist](https://packagist.org/packages/php-forge/baseline)[ RSS](/packages/php-forge-baseline/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)DependenciesVersions (5)Used By (6)

 [ ![PHP Forge](https://avatars.githubusercontent.com/u/103309199?s%25253D400%252526u%25253Dca3561c692f53ed7eb290d3bb226a2828741606f%252526v%25253D4) ](https://github.com/php-forge/baseline)

Baseline
========

[](#baseline)

 **Centralized PHP development baseline**
 *Code style, linters, CI workflows, and dev environment tooling shared across repositories via Composer.*

System requirements
-------------------

[](#system-requirements)

- [`PHP`](https://www.php.net/downloads) 8.3 or higher.
- [`Composer`](https://getcomposer.org/download/) for dependency management.

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

[](#installation)

```
composer require php-forge/baseline:^0.1 --dev
```

Or add the dependency manually to `composer.json`:

```
{
    "require-dev": {
        "php-forge/baseline": "^0.1"
    }
}
```

Then run `composer update`.

Scaffolded distribution
-----------------------

[](#scaffolded-distribution)

This package is a [`yii2-extensions/scaffold`](https://github.com/yii2-extensions/scaffold) provider for **dev environment metadata** (editor, gitignore, prettier, stylelint, super-linter configs, and more). Templates live under `metadata/` and are mapped to consumer roots via the `{from, to}` form in `scaffold.json`.

Opt in by allowing the plugin and listing this package as an authorised provider:

```
composer require yii2-extensions/scaffold:^0.1 --dev
```

```
{
    "config": {
        "allow-plugins": {
            "yii2-extensions/scaffold": true
        }
    },
    "extra": {
        "scaffold": {
            "auto": false,
            "allowed-packages": ["php-forge/baseline"]
        }
    }
}
```

With `auto: false`, the plugin does not run on `composer install`; sync templates manually:

```
vendor/bin/scaffold reapply --provider=php-forge/baseline
vendor/bin/scaffold diff
vendor/bin/scaffold status
```

### Files distributed

[](#files-distributed)

```
.
├── .editorconfig                      # append: Editor settings; consumer-specific lines preserved
├── .gitattributes                     # replace: Text/binary handling, archive excludes
├── .gitignore                         # append: Common ignore patterns; project-specific lines preserved
├── .styleci.yml                       # replace: StyleCI config (PSR-12 + risky)
├── .prettierignore                    # replace: Paths Prettier should skip
├── .prettierrc.json                   # replace: Prettier formatting rules
├── .stylelintignore                   # replace: Paths stylelint should skip
├── composer-require-checker.json      # preserve: Composer require-checker whitelist (project-specific)
└── .github
    └── linters
        ├── .codespellrc               # replace: codespell config
        ├── .editorconfig-checker.json # replace: editor-config-checker config for Super-Linter
        ├── .gitleaks.toml             # replace: gitleaks config
        ├── .markdown-lint.yml         # replace: markdownlint config
        └── actionlint.yml             # replace: actionlint config for Super-Linter

```

Mode semantics:

- `replace`: lock-step with this package. Local edits trigger a warning and the file is skipped on update.
- `append`: provider content is merged into the existing file; consumer additions never blown away.
- `preserve`: file is written once on first install and never overwritten.

Related packages
----------------

[](#related-packages)

For ECS and Rector configurations and their root wrapper templates, see [`php-forge/coding-standard`](https://github.com/php-forge/coding-standard). The two packages are independent — adopt either, both, or neither.

Package information
-------------------

[](#package-information)

[![PHP](https://camo.githubusercontent.com/f04357fef9ebcd99ed76d5414552bcd1ce849df0ee1d4faf8e991f54c966d508/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f253345253344382e332d3737374242342e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://www.php.net/releases/8.3/en.php)[![Latest Stable Version](https://camo.githubusercontent.com/6c0452aeac3f911be1bb6cc95f01a0b6e837d4f5767323424c978205e70cf338/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068702d666f7267652f626173656c696e652e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465266c6162656c3d537461626c65)](https://packagist.org/packages/php-forge/baseline)[![Total Downloads](https://camo.githubusercontent.com/05b5b1aa6b9f5385312f766a0d951d0d4d3c904d21983db63aa4160c32762849/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d666f7267652f626173656c696e652e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d636f6d706f736572266c6f676f436f6c6f723d7768697465266c6162656c3d446f776e6c6f616473)](https://packagist.org/packages/php-forge/baseline)

Quality code
------------

[](#quality-code)

[![Super-Linter](https://camo.githubusercontent.com/1727e04c8ea68445b67a59c6370e211c77bebceb354b5d561d2679a1aee5168f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7068702d666f7267652f626173656c696e652f6c696e7465722e796d6c3f7374796c653d666f722d7468652d6261646765266c6162656c3d53757065722d4c696e746572266c6f676f3d676974687562)](https://github.com/php-forge/baseline/actions/workflows/linter.yml)[![StyleCI](https://camo.githubusercontent.com/2e44ba381d6c9ab95b548566772bd17337dc56f8a6a646974bf7277720e5be9d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5374796c6543492d5061737365642d3434434331312e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6f676f436f6c6f723d7768697465)](https://github.styleci.io/repos/php-forge/baseline?branch=main)

Our social networks
-------------------

[](#our-social-networks)

[![Follow on X](https://camo.githubusercontent.com/332c1b1e043dfb940b95825f7863dc473f6924ddacdd6738cbbbba08f49e1862/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d466f6c6c6f772532306f6e253230582d3144413146322e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d78266c6f676f436f6c6f723d7768697465266c6162656c436f6c6f723d303030303030)](https://x.com/Terabytesoftw)

License
-------

[](#license)

[![License](https://camo.githubusercontent.com/680c8d62ba2d5a71d7099b6e81114fb0b22d99086c121fd178e1149afc669d44/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4253442d2d332d2d436c617573652d627269676874677265656e2e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d6f70656e736f75726365696e6974696174697665266c6f676f436f6c6f723d7768697465266c6162656c436f6c6f723d353535353535)](LICENSE)

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance96

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

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.

###  Release Activity

Cadence

Every ~6 days

Total

3

Last Release

21d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/524d2b46690f41fce7188d369488a35e7624e6c5a264d82aacd08548bfd156ab?d=identicon)[terabytesoftw](/maintainers/terabytesoftw)

---

Top Contributors

[![terabytesoftw](https://avatars.githubusercontent.com/u/42547589?v=4)](https://github.com/terabytesoftw "terabytesoftw (17 commits)")

---

Tags

baselinecicoding-standardsecseditorconfiglintersphpphp-forgeprettierrectorscaffold-providersuper-linterphpciECScoding-standardsrectorbaselineeditorconfigphp-forgeprettierscaffold-providerlinterssuper-linter

### Embed Badge

![Health badge](/badges/php-forge-baseline/health.svg)

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

###  Alternatives

[renoki-co/laravel-healthchecks

Laravel Healthchecks is a simple controller class that helps you build your own healthchecks endpoint without issues.

5754.9k](/packages/renoki-co-laravel-healthchecks)

PHPackages © 2026

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