PHPackages                             dentro/laravel-patcher - 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. dentro/laravel-patcher

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

dentro/laravel-patcher
======================

Laravel patch scripts.

v1.5.0(2mo ago)512.3k↑100%2MITPHPPHP ^8.3CI passing

Since Mar 18Pushed 3mo agoCompare

[ Source](https://github.com/digital-entropy/laravel-patcher)[ Packagist](https://packagist.org/packages/dentro/laravel-patcher)[ RSS](/packages/dentro-laravel-patcher/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (16)Versions (18)Used By (0)

Laravel Patcher
---------------

[](#laravel-patcher)

*A (migration like) patcher for a smoldering production update.*

[![Total Downloads](https://camo.githubusercontent.com/29ba65dc03f746f3cbd10e3fca399f65b3ee369dff1138f5389feab649701dd5/68747470733a2f2f706f7365722e707567782e6f72672f64656e74726f2f6c61726176656c2d706174636865722f646f776e6c6f616473)](https://packagist.org/packages/dentro/yalr)[![GitHub Workflow Status](https://github.com/digital-entropy/laravel-patcher/workflows/tests/badge.svg)](https://github.com/digital-entropy/laravel-patcher/workflows/tests/badge.svg)

#### Requirements:

[](#requirements)

- PHP : 8.\*
- Laravel: 9.\* / 10.\* / 11.\* / 12.\*

### Installation

[](#installation)

Do either of these methods below.

- via shell

```
composer require dentro/laravel-patcher
```

- adding `"dentro/laravel-patcher": "^1.0"` to `composer.json`

```
{
  "require": {
    "dentro/laravel-patcher": "^1.0"
  }
}
```

### Post Installation

[](#post-installation)

> this process is optional, you can skip it though.

patches table creation.

```
 php artisan patcher:install
```

### Usage

[](#usage)

#### Create New Patch

[](#create-new-patch)

for creating a new patch, you need to run these following command

```
php artisan make:patch what_do_you_want_to_patch
```

After run that command, you will see new file in `patches` folder. That file will be like:

```
