PHPackages                             vswteam/laravel-patches-command - 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. [CLI &amp; Console](/categories/cli)
4. /
5. vswteam/laravel-patches-command

ActiveLibrary[CLI &amp; Console](/categories/cli)

vswteam/laravel-patches-command
===============================

Execute patches command once

1.0.0(3y ago)03MITPHPPHP ^7.4|^8.0|^8.1

Since Jun 11Pushed 3y ago2 watchersCompare

[ Source](https://github.com/VSWTeam/laravel-patches-command)[ Packagist](https://packagist.org/packages/vswteam/laravel-patches-command)[ Docs](https://github.com/vswteam/laravel-patches-command)[ RSS](/packages/vswteam-laravel-patches-command/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Run Patches Command Once
========================

[](#run-patches-command-once)

執行一次性的補丁指令

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

[](#installation)

You can install the package via composer:

```
composer require vswteam/laravel-patches-command
```

You can publish and run the migrations with:

```
php artisan vendor:publish --provider="Vswteam\LaravelPatchesCommand\LaravelPatchesCommandServiceProvider" --tag="migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Vswteam\LaravelPatchesCommand\LaravelPatchesCommandServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
return [
    'patches' => [
    ]
];
```

Usage
-----

[](#usage)

修改 `laravel-patches-command.php`，加入要執行的指令列表

```
return [
    'patches' => [
        'patch:clear-dummy-logs' => '2022-01-01 Clear Dummy Logs',
        'patch:clear-dummy-files' => '2022-01-02 Clear Dummy Files',
    ]
];
```

然後執行 `php artisan patches:run` 即可

Testing
-------

[](#testing)

```
vendor/bin/phpunit
```

Changelog
---------

[](#changelog)

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

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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

Unknown

Total

1

Last Release

1431d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1dbd32a2374852eeda67f2996878655bd5aa9c9a4d7b2f4cd7cb82a469e932f0?d=identicon)[nox0121](/maintainers/nox0121)

---

Top Contributors

[![nox0121](https://avatars.githubusercontent.com/u/8230591?v=4)](https://github.com/nox0121 "nox0121 (3 commits)")

---

Tags

VSWTeamlaravel-patches-command

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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