PHPackages                             caneco/artisan-erm - 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. caneco/artisan-erm

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

caneco/artisan-erm
==================

Erm...awkwardly call that artisan commands

37PHP

Since Feb 21Pushed 7y ago2 watchersCompare

[ Source](https://github.com/caneco/artisan-erm)[ Packagist](https://packagist.org/packages/caneco/artisan-erm)[ RSS](/packages/caneco-artisan-erm/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![](https://raw.githubusercontent.com/caneco/artisan-erm/master/art/logo.jpg)](https://raw.githubusercontent.com/caneco/artisan-erm/master/art/logo.jpg)

[![](https://raw.githubusercontent.com/caneco/artisan-erm/master/art/preview.gif)](https://raw.githubusercontent.com/caneco/artisan-erm/master/art/preview.gif)

[![Total Downloads](https://camo.githubusercontent.com/3ecfd7ecad07c1a1f92dff822baf60e8654e822851e37bb43e1ccd1672580ba6/68747470733a2f2f706f7365722e707567782e6f72672f63616e65636f2f6172746973616e2d65726d2f642f746f74616c2e737667)](https://packagist.org/packages/caneco/artisan-erm)[![Latest Stable Version](https://camo.githubusercontent.com/085c56edf311675c92b4f1be86fe8d5c3ee49e4da949be44974243753c0b8ae4/68747470733a2f2f706f7365722e707567782e6f72672f63616e65636f2f6172746973616e2d65726d2f762f737461626c652e737667)](https://packagist.org/packages/caneco/artisan-erm)[![License](https://camo.githubusercontent.com/4f87e6d57a52fbc86fe841dee47a92b5f9cf19aba1903cd9adf8303c5f17e8f8/68747470733a2f2f706f7365722e707567782e6f72672f63616e65636f2f6172746973616e2d65726d2f6c6963656e73652e737667)](https://packagist.org/packages/caneco/artisan-erm)

---

Laravel Artisan, Erm...
=======================

[](#laravel-artisan-erm)

Are you tired of trying to call an Artisan command and endup with this result?

```
Command "migrate:make" is not defined.
Did you mean one of these?
    migrate
    migrate:fresh
    migrate:install

```

To make your life easier, Erm...better install this package.

Instalation
-----------

[](#instalation)

You can install the package via composer:

```
>_ composer require caneco/artisan-erm

```

#### Registering the service provider

[](#registering-the-service-provider)

In Laravel 5.5 the service provider will automatically get registered. But if needed just add the service provider in `config/app.php` file:

```
'providers' => [
    // ...
    Caneco\ArtisanErm\ArtisanErmServiceProvider::class,
];

```

#### Publishing the configuration file

[](#publishing-the-configuration-file)

To publish configuration file execute the following command and pick the package Service Provider:

```
>_ php artisan vendor:publish

 Which provider or tag's files would you like to publish?:
  [0 ] Publish files from all providers and tags listed below
  [1 ] Provider: Caneco\ArtisanErm\ArtisanErmServiceProvider
  [… ] ...

```

Or do it in a single command:

```
>_ php artisan vendor:publish --provider="Caneco\ArtisanErm\ArtisanErmServiceProvider"

```

When published, you will have a config file with the list of Erm...commands avaiable:

```
return [

  'list' => [
    /*
    |--------------------------------------------------------------------------
    | Erm...this is the awkward list of Cache commands
    |--------------------------------------------------------------------------
    */
    'cache' => [
      'clear'  => 'Flush the application cache',
      'forget' => 'Remove an item from the cache',
      'table'  => 'Create a migration for the cache database table',
    ],

    // ...
];
```

Usage
-----

[](#usage)

After the initial setup. Erm...commands are ready to use right from your Laravel artisan command.

```
$ php artisan list
...
Available commands:
  clear-compiled       Remove the compiled class file
  down                 Put the application into maintenance mode
  ...
  erm
   erm:cache           Erm...show all the commands in the `cache` namespace.
   erm:config          Erm...show all the commands in the `config` namespace.
   erm:make            Erm...show all the commands in the `make` namespace.
   erm:migrate         Erm...show all the commands in the `migrate` namespace.
   erm:queue           Erm...show all the commands in the `queue` namespace.
   erm:route           Erm...show all the commands in the `route` namespace.
   erm:schedule        Erm...show all the commands in the `schedule` namespace.
   erm:view            Erm...show all the commands in the `view` namespace.
  ...

```

Then you can call any Erm...commands and all the available choices will be presented for you to choose.

```
$ php artisan erm:cache

 Erm...which command would you like to call:
  [0] artisan cache:clear    Flush the application cache
  [1] artisan cache:forget   Remove an item from the cache
  [2] artisan cache:table    Create a migration for the cache database table
 >
...

```

Or you can directly call the main Erm...command and it will awkwardly list top commands.

```
$ php artisan erm

 Erm...which command would you like to call:
  [0] artisan cache:_
  [1] artisan config:_
  [2] artisan migrate:_

```

With this, it's a walk in the park to call any ambiguous command.

#### Discover new namespaces

[](#discover-new-namespaces)

By default the listed Erm...commands will be according to a fresh new Laravel app.

But if your current application already other big command namespaces like `horizon:` you can rebuild the list using the following option:

```
$ php artisan erm --discover

```

Erm...will check the list of Artisan commands in your Laravel application and map a new `erm.php` config according to that.

The next time you call the base Erm...command the new options will be available.

```
$ php artisan erm

 Erm...which command would you like to call?:
  [0] artisan cache:_
  [1] artisan horizon:_
  […]

```

What is Erm?
------------

[](#what-is-erm)

According to the Urban Dictionary, the term "[Erm](https://www.urbandictionary.com/define.php?term=erm)" it's a word used commonly to fill awkward space in conversations. It felt right since you can end up with some awkwardly results with Artisan.

Gotchas ⚠️
----------

[](#gotchas-️)

- Only the options that have more than 1 (one) namespace will be listed
- After you rebuild the list from `artisan erm --discover` the `erm.php` config it's not going to be that pretty anymore.

Supported versions
------------------

[](#supported-versions)

Look at the table below to find out what versions of Laravel are supported on what version of this package:

Laravel FrameworkArtisan Erm`5.7.*``^1.0`Contributing
------------

[](#contributing)

All contributions (pull requests, issues and feature requests) are welcome. Make sure to read through the [Contributing file](/caneco/artisan-erm/blob/master/CONTRIBUTING.md) first, though. See the [contributors page](/caneco/artisan-ermes/graphs/contributors) for all contributors.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](/caneco/artisan-erm/blob/master/LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/502041?v=4)[Caneco](/maintainers/Caneco)[@caneco](https://github.com/caneco)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/caneco-artisan-erm/health.svg)

```
[![Health](https://phpackages.com/badges/caneco-artisan-erm/health.svg)](https://phpackages.com/packages/caneco-artisan-erm)
```

###  Alternatives

[seld/cli-prompt

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

24726.4M22](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

13045.3M6.2k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71464.1k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20718.9k21](/packages/winbox-args)

PHPackages © 2026

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