PHPackages                             johan-code/patch-runner - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. johan-code/patch-runner

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

johan-code/patch-runner
=======================

PHP executable patching system

1.0.1(2y ago)07PHP

Since Jul 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/johangit/PatchManager)[ Packagist](https://packagist.org/packages/johan-code/patch-runner)[ RSS](/packages/johan-code-patch-runner/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Patch Execution Manager
=======================

[](#patch-execution-manager)

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

[](#installation)

Install the package via Composer:

```
composer require johan-code/patch-runner
```

Add the package's service provider to your config/app.php file:

```
'providers' => [
    // Other service providers...
    \JohanCode\PatchRunner\PatchRunnerServiceProvider::class,
],
```

Publish the package configuration file (optional):

```
php artisan vendor:publish --tag=patch-runner-config
```

Run migrations:

```
php artisan migrate
```

Console Commands
----------------

[](#console-commands)

The package provides the following console commands:

- `php artisan make:patch` Generates a new patch file with a "run" method.
- `php artisan patch` Runs all pending patches that haven't been executed yet.
- `php artisan patch:status` Displays the status of patches (executed or not).

Config File
-----------

[](#config-file)

After publishing the package configuration file, you can modify the behavior of the patch runner by editing the config/patch-runner.php file.

Usage
-----

[](#usage)

Here's an example of how to use the package:

1. Generate a new patch file: `php artisan make:patch MyPatch`
2. Implement the "run" method in the generated patch file ("MyPatch.php").
3. Run pending patches: `php artisan patch`
4. Check the status of patches: `php artisan patch:status`

License
-------

[](#license)

This package is open-source software licensed under the MIT License. You can find the license text in the [LICENSE](LICENSE) file.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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

Total

2

Last Release

1041d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/84e29037a128c782742d02ea46cf1bf79d1fd1519638daadc00d7c90970b7caf?d=identicon)[johangit](/maintainers/johangit)

### Embed Badge

![Health badge](/badges/johan-code-patch-runner/health.svg)

```
[![Health](https://phpackages.com/badges/johan-code-patch-runner/health.svg)](https://phpackages.com/packages/johan-code-patch-runner)
```

###  Alternatives

[acquia/drupal-environment-detector

Provides common methods for detecting the current Acquia environment

105.9M19](/packages/acquia-drupal-environment-detector)

PHPackages © 2026

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