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(3mo ago)0301MITPHPPHP ^8.1CI passing

Since Jun 23Pushed 3mo 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 1w ago

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

40

—

FairBetter than 86% of packages

Maintenance79

Regular maintenance activity

Popularity14

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

109d 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.1k4.6M322](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

20433.0M1.8k](/packages/illuminate-queue)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

265.2k](/packages/aedart-athenaeum)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k161.4k2](/packages/mike-bronner-laravel-model-caching)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45844.8k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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