PHPackages                             am-impact/amcommand - 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. am-impact/amcommand

ActiveCraft-plugin[CLI &amp; Console](/categories/cli)

am-impact/amcommand
===================

Command palette in Craft.

3.1.4(7y ago)8674.1k8[12 issues](https://github.com/am-impact/amcommand/issues)3MITPHP

Since Dec 1Pushed 3y ago8 watchersCompare

[ Source](https://github.com/am-impact/amcommand)[ Packagist](https://packagist.org/packages/am-impact/amcommand)[ RSS](/packages/am-impact-amcommand/feed)WikiDiscussions craft3 Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (22)Used By (3)

Command Palette
===============

[](#command-palette)

*Command palette in Craft.*

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0-RC1 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require am-impact/amcommand

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Command Palette.

Functionality
-------------

[](#functionality)

If you have ever used Alfred, you know you'll be zipping through the control panel in no time!

You can open the command palette by using the keyboard combination: (command key for Apple users) CTRL + SHIFT + P, or you click on Command in the CP navigation.

Use the keyboard arrows (up and down) to navigate to your desired command. When you hit the return key or click on a command, the command palette will navigate to the location and show what it's loading. Use (command key for Apple users) CTRL + RETURN (or click) to fire the command in a new window.

[![Palette](https://raw.githubusercontent.com/am-impact/am-impact.github.io/master/img/readme/amcommand/palette.gif "Palette")](https://raw.githubusercontent.com/am-impact/am-impact.github.io/master/img/readme/amcommand/palette.gif)

Current commands
----------------

[](#current-commands)

### Default commands

[](#default-commands)

CommandDescriptionContent: Delete all entriesDelete all entries in one of the available sections.Content: Delete entriesDelete an entry in one of the available sections.Content: Edit entriesEdit an entry in one of the available sections.Content: New entryCreate a new entry in one of the available sections.DashboardRedirect.Globals: EditEdit one of your globals.Search on CraftRedirect - Search on Craft with given keywords.Search on StackExchangeRedirect - Search on StackExchange with given keywords.Settings: AssetsRedirect.Settings: CategoriesRedirect.Settings: FieldsRedirect.Settings: Fields - DuplicateDuplicate a field.Settings: Fields - EditEdit one of the fields.Settings: GlobalsRedirect.Settings: Globals - Global SetsEdit the settings for one of the globals.Settings: New...Add something new in the settings...Settings: PluginsRedirect.Settings: Plugin settingsEdit the settings for one of the enabled pluginsSettings: RoutesRedirect.Settings: SectionsRedirect.Settings: Sections - EditEdit a section.Settings: Sections - Edit entry typeEdit an entry type of a section. (Field Layout and such)Settings: UsersRedirect.TasksManage Craft tasks.ToolsUse one of the most used tools.Users: Delete usersDelete a user other than your own.Users: Edit usersEdit a user.Users: Login as userLog in as a different user, and navigate to their dashboard.Users: New userCreate a user.Sign outEnd current session.My AccountRedirect.### Special commands

[](#special-commands)

CommandDescriptionContent: Compare entry versionCompare the current entry you are viewing in the CP with older versions.Content: Duplicate entryDuplicate the current entry you are viewing in the CP.Simply type!You will be able to search in elements directly when you haven't triggered a (deeper command, that returns a new list or such things) command yet.Adding your own commands
------------------------

[](#adding-your-own-commands)

If you'd like to add commands for a plugin you're developing, register the commands through an event.

Add this at the top of your main plugin file:

```
use amimpact\commandpalette\events\RegisterCommandsEvent;
use amimpact\commandpalette\services\General;
use yii\base\Event;
```

Add this to the init function of your main plugin file:

```
if (class_exists(General::class)) {
    Event::on(General::class, General::EVENT_REGISTER_COMMANDS, function(RegisterCommandsEvent $event) {
        $event->commands[] = [
            'name' => 'Search on Google',
            'type' => 'Custom',
            'url'  => 'http://www.google.nl',
            'icon' => [
                'type' => 'font',
                'content' => 'plugin'
            ]
        ];
        $event->commands[] = [
            'name' => 'My own plugin function in a service',
            'type' => 'Custom',
            'call' => 'yourPluginFunctionName',
            'plugin' => 'your-plugin-handle',
            'service' => 'yourPluginServiceName'
        ];
    });
}
```

That's it! The command palette will add these two commands.

If you look at the second example, you see a call, plugin and service key. These can be used to load a new set of commands.

In your plugin's service **yourPluginServiceName** (e.g.: general), you'll create a new function called **yourPluginFunctionName**. In here you could do the same thing as you see in the example, and just return the new set of commands.

Contact
-------

[](#contact)

If you have any questions or suggestions, don't hesitate to contact us. We would like to add more commands to the palette, so if you have any ideas then please let us know!

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~53 days

Total

18

Last Release

2911d ago

Major Versions

1.2.0 → 2.0.02017-06-14

2.2.0 → 3.1.02017-12-04

### Community

Maintainers

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

---

Top Contributors

[![hubertprein](https://avatars.githubusercontent.com/u/6221899?v=4)](https://github.com/hubertprein "hubertprein (5 commits)")[![FrankZwiers](https://avatars.githubusercontent.com/u/1741077?v=4)](https://github.com/FrankZwiers "FrankZwiers (1 commits)")[![lukeholder](https://avatars.githubusercontent.com/u/133571?v=4)](https://github.com/lukeholder "lukeholder (1 commits)")

---

Tags

command-palettecraftphpplugincmscommandCraftcraftcms

### Embed Badge

![Health badge](/badges/am-impact-amcommand/health.svg)

```
[![Health](https://phpackages.com/badges/am-impact-amcommand/health.svg)](https://phpackages.com/packages/am-impact-amcommand)
```

###  Alternatives

[putyourlightson/craft-log-to-file

Logs messages to a specific log file for Craft CMS.

29368.0k5](/packages/putyourlightson-craft-log-to-file)[ostark/craft-plugin-commands

Manage Craft plugins from the cli

1951.1k1](/packages/ostark-craft-plugin-commands)[weareferal/matrix-field-preview

Add screenshot previews to matrix and neo fields, helping you publish content quicker.

1717.5k](/packages/weareferal-matrix-field-preview)[topshelfcraft/walk

A Craft-aware array\_walk() method, plus some super-convenient console commands, to easily call Craft service methods on a collection of elements or values.

221.5k](/packages/topshelfcraft-walk)[topshelfcraft/scraper

Easily fetch, parse, and rejigger HTML or XML from anywhere.

162.2k](/packages/topshelfcraft-scraper)

PHPackages © 2026

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