PHPackages                             alighorbani1381/command-manager - 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. alighorbani1381/command-manager

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

alighorbani1381/command-manager
===============================

Automatically run your artisan commands

v2.0.0(1mo ago)44121MITPHPPHP ^8.2

Since Feb 4Pushed 3w ago2 watchersCompare

[ Source](https://github.com/alighorbani1381/command-manager)[ Packagist](https://packagist.org/packages/alighorbani1381/command-manager)[ Docs](https://github.com/alighorbani1381/command-manager)[ RSS](/packages/alighorbani1381-command-manager/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (5)Versions (6)Used By (1)

### 👑 What's Command Manager?

[](#-whats-command-manager)

it's a laravel package that help you to running chain of commands with call just single artisan command.

it's very useful for automation flow of normalizing data and other stuff needs to run command after any new deploy as easy as adding `php artisan command_manager:execute` command into your CI/CD pipelines.

### ⬇️ Installation

[](#️-installation)

You can install the package via composer:

```
composer require alighorbani1381/command-manager
```

Then you must run migrations to command manager add the tables that it needs to work with.

```
php artisan migrate
```

You may also publish config file:

```
php artisan vendor:publish --provider="Alighorbani\CommandManager\CommandManagerServiceProvider"
```

After running above command you can find file in your config folder command-manager.php

in this files array exist that you can add your command in the commands key inside it

### 🚀 Usage

[](#-usage)

To run command automatically we have 3 steps that must be doing if you don't do one of these steps commands manager throw an exception!

1- First you must make your command, and extended from AutomaticCommand if you don't extend Automatic Command see the exception when commands run

```
