PHPackages                             myqaa/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. [Database &amp; ORM](/categories/database)
4. /
5. myqaa/laravel-patches

ActiveLibrary[Database &amp; ORM](/categories/database)

myqaa/laravel-patches
=====================

Run patches migration style in your Laravel applications.

09.2k↓33.3%1PHP

Since Feb 12Pushed 3mo agoCompare

[ Source](https://github.com/myQaa/laravel-patches)[ Packagist](https://packagist.org/packages/myqaa/laravel-patches)[ RSS](/packages/myqaa-laravel-patches/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Package Logo](https://camo.githubusercontent.com/f919915041fd8a931a4599583e407c75a06926b3d8e121a3e3d7de1d4a2110e5/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c253230506174636865732e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d7261707061736f66742532466c61726176656c2d70617463686573267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d52756e2b706174636865732b6d6967726174696f6e2b7374796c652b696e2b796f75722b4c61726176656c2b6170706c69636174696f6e732e266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d70757a7a6c65)](https://camo.githubusercontent.com/f919915041fd8a931a4599583e407c75a06926b3d8e121a3e3d7de1d4a2110e5/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c253230506174636865732e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d7261707061736f66742532466c61726176656c2d70617463686573267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d52756e2b706174636865732b6d6967726174696f6e2b7374796c652b696e2b796f75722b4c61726176656c2b6170706c69636174696f6e732e266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d70757a7a6c65)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9ad68768c6ed58f1a5fb2658d8642458060729f061992621d6e4ba0d328bbd90/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7261707061736f66742f6c61726176656c2d706174636865732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rappasoft/laravel-patches)[![Styling](https://github.com/rappasoft/laravel-patches/actions/workflows/php-cs-fixer.yml/badge.svg)](https://github.com/rappasoft/laravel-patches/actions/workflows/php-cs-fixer.yml)[![Tests](https://github.com/rappasoft/laravel-patches/actions/workflows/run-tests.yml/badge.svg)](https://github.com/rappasoft/laravel-patches/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/edd58c1c88c7454c875990695d803862733e77fc92412b6d24ba7b87df682087/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7261707061736f66742f6c61726176656c2d706174636865732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rappasoft/laravel-patches)

### Enjoying this package? [Buy me a beer 🍺](https://www.buymeacoffee.com/rappasoft)

[](#enjoying-this-package-buy-me-a-beer-)

This package generates patch files in the same fashion Laravel generates migrations. Each file is timestamped with an up and a down method and is associated with a batch. You may run or rollback patches with the commands below.

This is a very simple package. It runs whatever is in your up and down methods on each patch in the order the patches are defined. It currently does not handle any errors or database transactions, please make sure you account for everything and have a backup plan when running patches in production.

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

[](#installation)

You can install the package via composer:

```
composer require rappasoft/laravel-patches
```

Documentation and Usage Instructions
------------------------------------

[](#documentation-and-usage-instructions)

See the [documentation](https://rappasoft.com/docs/laravel-patches) for detailed installation and usage instructions.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Anthony Rappa](https://github.com/rappasoft)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance55

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ae40dc64b6b61c058f0f3a665880ed3bdfa735f3b3bccefbd0f51a5077c6d8a?d=identicon)[githubmyqaa](/maintainers/githubmyqaa)

---

Top Contributors

[![rappasoft](https://avatars.githubusercontent.com/u/6026504?v=4)](https://github.com/rappasoft "rappasoft (39 commits)")[![Roman77450](https://avatars.githubusercontent.com/u/43234201?v=4)](https://github.com/Roman77450 "Roman77450 (4 commits)")[![krnsptr](https://avatars.githubusercontent.com/u/16422181?v=4)](https://github.com/krnsptr "krnsptr (2 commits)")[![romualdj](https://avatars.githubusercontent.com/u/109513783?v=4)](https://github.com/romualdj "romualdj (2 commits)")

### Embed Badge

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

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90440.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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