PHPackages                             lullabot/composer-checks - 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. lullabot/composer-checks

ActiveComposer-plugin

lullabot/composer-checks
========================

Composer checks plugin

0.1.0(7mo ago)0371MITPHPPHP ^8.1CI passing

Since Mar 25Pushed 7mo ago5 watchersCompare

[ Source](https://github.com/Lullabot/composer-checks)[ Packagist](https://packagist.org/packages/lullabot/composer-checks)[ Docs](https://github.com/Lullabot/composer-checks)[ RSS](/packages/lullabot-composer-checks/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (3)Used By (0)

Composer configuration checks
-----------------------------

[](#composer-configuration-checks)

To promote best practices within Composer projects, we run a few checks after running Composer commands.

It adds the following checks when running `composer install` or `composer update`.

### More information

[](#more-information)

-
-
-
-

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

[](#installation)

Run the command:

```
composer require lullabot/composer-checks

```

### Check: Configure Composer Patches to Use `-p2` as `patchLevel` for Drupal core

[](#check-configure-composer-patches-to-use--p2-as-patchlevel-for-drupal-core)

> Drupal's git repository has a different directory structure than projects built on Drupal. Default Composer Patches settings can cause Drupal patches to be silently misapplied. See

To make this check a warning instead of an error, make sure the following value exists in `extra.composer-checks` path: "disable-drupal-core-patches-level-check"

### Check: Break composer install if patches don't apply

[](#check-break-composer-install-if-patches-dont-apply)

> Drupal's git repository has a different directory structure than projects built on Drupal. Default Composer Patches settings can cause Drupal patches to be silently misapplied. See

To make this check a warning instead of an error, make sure the following value exists in `extra.composer-checks` path: "disable-exit-on-patch-failure-check"

### Check: Store Composer Patches configuration in composer.json

[](#check-store-composer-patches-configuration-in-composerjson)

> Validating a complete Composer configuration is important to ensuring build issues are caught early. See

To make this check a warning instead of an error, make sure the following value exists in `extra.composer-checks` path: "disable-patches-file-check"

### Check: Use local copies of patch files

[](#check-use-local-copies-of-patch-files)

> When using [cweagans/composer-patches](https://github.com/cweagans/composer-patches), it is important that patch sources are consistent and do not change between builds. See

To make this check a warning instead of an error, make sure the following value exists in `extra.composer-checks` path: "disable-local-patches-check"

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance68

Regular maintenance activity

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 65.5% 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

220d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f2b22c5ce2b0ee6b619c41efe1ddb93ac84d910f59539363009b76810469c72?d=identicon)[lullabot](/maintainers/lullabot)

---

Top Contributors

[![beto-aveiga](https://avatars.githubusercontent.com/u/3916979?v=4)](https://github.com/beto-aveiga "beto-aveiga (55 commits)")[![deviantintegral](https://avatars.githubusercontent.com/u/255023?v=4)](https://github.com/deviantintegral "deviantintegral (23 commits)")[![mrdavidburns](https://avatars.githubusercontent.com/u/287035?v=4)](https://github.com/mrdavidburns "mrdavidburns (3 commits)")[![rene-ipiales-lullabot](https://avatars.githubusercontent.com/u/169498371?v=4)](https://github.com/rene-ipiales-lullabot "rene-ipiales-lullabot (2 commits)")[![rabbitlair](https://avatars.githubusercontent.com/u/1698103?v=4)](https://github.com/rabbitlair "rabbitlair (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lullabot-composer-checks/health.svg)

```
[![Health](https://phpackages.com/badges/lullabot-composer-checks/health.svg)](https://phpackages.com/packages/lullabot-composer-checks)
```

###  Alternatives

[humbug/box

Fast, zero config application bundler with PHARs.

1.3k801.5k67](/packages/humbug-box)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M14](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M440](/packages/drupal-core-composer-scaffold)[roots/wordpress-core-installer

A Composer custom installer to handle installing WordPress as a dependency

4115.6M19](/packages/roots-wordpress-core-installer)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)

PHPackages © 2026

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