PHPackages                             ostark/craft-plugin-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. ostark/craft-plugin-commands

ActiveYii2-extension[CLI &amp; Console](/categories/cli)

ostark/craft-plugin-commands
============================

Manage Craft plugins from the cli

2.0.0(3y ago)1951.1k—8.3%1[2 issues](https://github.com/ostark/craft-plugin-commands/issues)1MITPHP

Since Apr 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ostark/craft-plugin-commands)[ Packagist](https://packagist.org/packages/ostark/craft-plugin-commands)[ RSS](/packages/ostark-craft-plugin-commands/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (1)

Plugin Commands for Craft 3
===========================

[](#plugin-commands-for-craft-3)

This is intentionally not a plugin, it's a Yii Extension. There is not need to bootstrap or enable it, it auto-registers itself.

Install
-------

[](#install)

Require the package:

```
composer require ostark/craft-plugin-commands
```

Usage
-----

[](#usage)

Get a list of all plugins

```
./craft plugin/list

5 plugins found
╔═══════════════════════════╤════════════╤═══════════════╤═══════════════╗
║ Handle                    │ Version    │ Developer     │ Status        ║
╟───────────────────────────┼────────────┼───────────────┼───────────────╢
║ aws-s3                    │ 1.0.8      │ Pixel & Tonic │ Disabled      ║
╟───────────────────────────┼────────────┼───────────────┼───────────────╢
║ async-queue               │ 1.3.0      │ Oliver Stark  │ Enabled       ║
╟───────────────────────────┼────────────┼───────────────┼───────────────╢
║ fortrabbit-object-storage │ 0.1.0      │ Oliver Stark  │ Not installed ║
╟───────────────────────────┼────────────┼───────────────┼───────────────╢
║ happy-brad                │ v1.2       │ Matt Stauffer │ Enabled       ║
╟───────────────────────────┼────────────┼───────────────┼───────────────╢
║ upper                     │ 1.3.1      │ Oliver Stark  │ Not installed ║
╚═══════════════════════════╧════════════╧═══════════════╧═══════════════╝

```

Install &amp; enable ALL or a single plugin

```
php craft plugin/install ALL
php craft plugin/install {plugin-handle}

```

Uninstall ALL or a single plugin

```
php craft plugin/uninstall ALL
php craft plugin/uninstall {plugin-handle}

```

Disable ALL or a single plugin

```
php craft plugin/disable ALL
php craft plugin/disable {plugin-handle}

```

Enable ALL or a single plugin

```
php craft plugin/enable ALL
php craft plugin/enable {plugin-handle}

```

Limit execution to specific environments with the `--env-only` flag. This option is only useful in automated deployment processes, e.g. `post-install-cmd`s defined in a shared `composer.json`:

```
{
    "scripts": {
        "post-install-cmd": [
            "php craft plugin/disable {plugin-handle} --env-only=production",
            "php craft plugin/enable {plugin-handle} --env-only=dev,staging"
        ]
    }
}
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~819 days

Total

3

Last Release

1322d ago

Major Versions

1.1.0 → 2.0.02022-10-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/8f2939b15a562ee53b5284f58b704e53ae26b975c1154fa6afb2f8b8331fbd27?d=identicon)[ostark](/maintainers/ostark)

---

Top Contributors

[![sfsmfc](https://avatars.githubusercontent.com/u/5294925?v=4)](https://github.com/sfsmfc "sfsmfc (1 commits)")[![XhmikosR](https://avatars.githubusercontent.com/u/349621?v=4)](https://github.com/XhmikosR "XhmikosR (1 commits)")

---

Tags

clicraft3craftcmscmspluginsyii2-extensionCraftcraftcms

### Embed Badge

![Health badge](/badges/ostark-craft-plugin-commands/health.svg)

```
[![Health](https://phpackages.com/badges/ostark-craft-plugin-commands/health.svg)](https://phpackages.com/packages/ostark-craft-plugin-commands)
```

###  Alternatives

[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.4M46](/packages/nystudio107-craft-seomatic)[am-impact/amcommand

Command palette in Craft.

8674.1k3](/packages/am-impact-amcommand)[verbb/image-resizer

Resize assets when they are uploaded.

127269.1k7](/packages/verbb-image-resizer)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[verbb/hyper

A user-friendly links field for Craft.

24130.9k9](/packages/verbb-hyper)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)

PHPackages © 2026

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