PHPackages                             aaix/laravel-patches - 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. aaix/laravel-patches

ActiveLaravel-package[Utility &amp; Helpers](/categories/utility)

aaix/laravel-patches
====================

A simple, command-based patching system for Laravel where patches are trackable.

1.0.8(2mo ago)0282MITPHPPHP ^8.1CI passing

Since Jun 23Pushed 2mo agoCompare

[ Source](https://github.com/jonaaix/laravel-patches)[ Packagist](https://packagist.org/packages/aaix/laravel-patches)[ RSS](/packages/aaix-laravel-patches/feed)WikiDiscussions main Synced today

READMEChangelog (6)Dependencies (14)Versions (9)Used By (0)

 [ ![Laravel Patches Logo](https://raw.githubusercontent.com/jonaaix/laravel-patches/main/resources/laravel-patches.webp) ](https://github.com/jonaaix/laravel-patches)

Laravel Patches
===============

[](#laravel-patches)

A simple, command-based patching system for Laravel — hidden, trackable, and disposable one-off commands for data migrations, one-time fixes, and complex deployments.

 [![Latest Version on Packagist](https://camo.githubusercontent.com/196ee0c0dea01f0d2ae1019d5da410d385adc78243aaf1ea4110da29cca4835e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616169782f6c61726176656c2d706174636865732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aaix/laravel-patches) [![Total Downloads](https://camo.githubusercontent.com/8a00bd2d4656feb90b355184084c68a73d6515410bdbf2b3b4c2b8851432a4b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616169782f6c61726176656c2d706174636865732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aaix/laravel-patches) [![GitHub Actions](https://camo.githubusercontent.com/6e685bd44e19336ab8b689cf44ec432cdaffeae184d431f9c99f2071aa4f6268/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6f6e616169782f6c61726176656c2d706174636865732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/jonaaix/laravel-patches/actions/workflows/run-tests.yml) [![License](https://camo.githubusercontent.com/8738b0484d98379d7405d3093fc46de82a71dbc486ba2c199a9611a62f19370d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616169782f6c61726176656c2d706174636865732e7376673f7374796c653d666c61742d737175617265)](https://github.com/jonaaix/laravel-patches/blob/main/LICENSE)

---

Features
--------

[](#features)

- **Command-Based** — every patch is a full-fledged Artisan command.
- **Trackable** — executed patches are logged in a database table to prevent re-execution.
- **Disposable** — delete the patch file when it's no longer needed.
- **User-Controlled** — unlike migrations, patches never run automatically. You decide which patch runs and when.

Quickstart
----------

[](#quickstart)

```
composer require aaix/laravel-patches
php artisan migrate
php artisan make:patch FixUserEmails
php artisan patch
```

Documentation
-------------

[](#documentation)

Full guide, configuration reference and usage examples: **[laravel-patches docs](https://jonaaix.github.io/laravel-patches/)**.

License
-------

[](#license)

Released under the [MIT License](LICENSE).

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance87

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Recently: every ~76 days

Total

8

Last Release

64d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d8ec042829e0d4060243b6c1067768dd31773ace52982c6ac4a4fbef207cbfd?d=identicon)[aaix](/maintainers/aaix)

---

Top Contributors

[![jonaaix](https://avatars.githubusercontent.com/u/15804690?v=4)](https://github.com/jonaaix "jonaaix (34 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aaix-laravel-patches/health.svg)

```
[![Health](https://phpackages.com/badges/aaix-laravel-patches/health.svg)](https://phpackages.com/packages/aaix-laravel-patches)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M195](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k91.9k1](/packages/mike-bronner-laravel-model-caching)

PHPackages © 2026

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