PHPackages                             bajjouayoub/custom-commands - 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. bajjouayoub/custom-commands

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

bajjouayoub/custom-commands
===========================

This Laravel package help to manage multiple commands in one command line.

v1.6(5y ago)163MITPHP

Since Jun 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ayoubbajjou/custom-commands)[ Packagist](https://packagist.org/packages/bajjouayoub/custom-commands)[ RSS](/packages/bajjouayoub-custom-commands/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (8)Used By (0)

Laravel Custom Commands Package
===============================

[](#laravel-custom-commands-package)

[![Github issues](https://camo.githubusercontent.com/ca045fb102da384883078163d1cae58e2859d88960fa6a4813a8be27a7761909/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f61796f756262616a6a6f752f637573746f6d2d636f6d6d616e6473)](https://camo.githubusercontent.com/ca045fb102da384883078163d1cae58e2859d88960fa6a4813a8be27a7761909/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f61796f756262616a6a6f752f637573746f6d2d636f6d6d616e6473)![Software License](https://camo.githubusercontent.com/2680183c1ca44d3d7a9449e8e03215302a59155936bb5305c1fc491b53838a4e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f61796f756262616a6a6f752f637573746f6d2d636f6d6d616e6473)

This Laravel package help to manage multiple commands in one command line, and this package is recomended if you are using Laravel Passport .

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

[](#installation)

Install the package through Composer. Run the following command in your terminal

```
composer require bajjouayoub/custom-commands
```

Then publish the config file

```
php artisan vendor:publish --provider="Bajjouayoub\CustomCommands\CustomCommandsServiceProvider"

```

How it works
------------

[](#how-it-works)

First of all, go to the `config` folder and the look for `custom-commands.php`

### Specify the name of the command

[](#specify-the-name-of-the-command)

```
"command_name" => "command:name"

Output :

php artisan command:name

```

### Add all the commands that you want to run at once

[](#add-all-the-commands-that-you-want-to-run-at-once)

Note: those commands should be type of `string`

```
"commands" => [
    // 'config:clear'
    // 'migrate:refresh'
    // 'db:seed'
    // 'passport:install'
    ...
]

```

### Change something on the .env file (optional)

[](#change-something-on-the-env-file-optional)

if you need to change some variable in the .env file change the variable to `true` by default it's `false`

```
"change_env" => true

```

### Table and row name

[](#table-and-row-name)

if you change the `change_env` to `true` then those fields is required. the `table` variable is refers to the `oauth_clients` this table comes with `laravel passport` by default. the `row` variable is refers to the `secret` row in the `oauth_clients` table.

```
"table" => "" //type of string

"row" => "" //type of string

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~1 days

Total

7

Last Release

2158d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3eb0aaa026e3dc8fd974aa4f1c74586ae44997e104c9ce0e3ead1d2459c2f8f?d=identicon)[bajjouayoub](/maintainers/bajjouayoub)

---

Top Contributors

[![ayoubbajjou](https://avatars.githubusercontent.com/u/24655822?v=4)](https://github.com/ayoubbajjou "ayoubbajjou (1 commits)")

### Embed Badge

![Health badge](/badges/bajjouayoub-custom-commands/health.svg)

```
[![Health](https://phpackages.com/badges/bajjouayoub-custom-commands/health.svg)](https://phpackages.com/packages/bajjouayoub-custom-commands)
```

###  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)
