PHPackages                             mediameets/psh-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. mediameets/psh-commands

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

mediameets/psh-commands
=======================

This package provides some useful PSH commands for developing and releasing plugins for Shopware 6.

0251Shell

Since Mar 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mediameets/psh-commands)[ Packagist](https://packagist.org/packages/mediameets/psh-commands)[ RSS](/packages/mediameets-psh-commands/feed)WikiDiscussions develop Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PSH Command Library
===================

[](#psh-command-library)

This package provides a library of useful generic [PSH](https://github.com/shopwareLabs/psh) Commands when developing plugins for [Shopware](https://www.shopware.com/de/) 5 and plugins or apps for Shopware 6.

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

[](#installation)

Use [composer](https://getcomposer.org/) to require this package as a development dependency in your Shopware plugin/app:

```
composer require mediameets/psh-commands --dev
```

Note from the original PSH package: Although you can use PSH as a composer dependency, we recommend to use the PHAR archive instead. As a result this command library does not install PSH as a composer dependency (any longer)!

### Use library **with existing** psh config

[](#use-library-with-existing-psh-config)

Add all environments and placeholders from the `.psh.xml.dist` file to your psh config file.

### Use library **without existing** psh config

[](#use-library-without-existing-psh-config)

Copy the `.psh.xml.dist` file into your plugin/app root folder:

```
cp vendor/mediameets/psh-commands/.psh.xml.dist .psh.xml.dist
```

Usually no further configuration is necessary. See configuration for more details.

Configuration for a Shopware 6 plugin or app
--------------------------------------------

[](#configuration-for-a-shopware-6-plugin-or-app)

NameDescriptionDefaultSW6\_PLUGIN\_NAMEThe technical name of your Shopware plugin/app.basename $PWDSW6\_IS\_APPHolds information if package is a Shopware app (true) or plugin (false).php -f vendor/mediameets/psh-commands/sw6/scripts/check-is-app.phpSW6\_PLUGIN\_VERSIONVersion of the Shopware 6 plugin/app.php -f vendor/mediameets/psh-commands/sw6/scripts/get-plugin-version.phpSW6\_ADMINISTRATION\_ASSET\_FOLDERFolder of the administration assets of a Shopware 6 plugin.php -f vendor/mediameets/psh-commands/sw6/scripts/get-administration-asset-path.phpSW6\_STOREFRONT\_ASSET\_FOLDERFolder of the storefront assets of a Shopware 6 plugin/app.php -f vendor/mediameets/psh-commands/sw6/scripts/get-storefront-asset-path.phpConfiguration for a Shopware 5 plugin
-------------------------------------

[](#configuration-for-a-shopware-5-plugin)

NameDescriptionDefaultSW5\_PLUGIN\_VERSIONVersion of the Shopware 5 plugin.php -f vendor/mediameets/psh-commands/sw5/scripts/get-plugin-version.phpUsage
-----

[](#usage)

Now you can use the commands via global installed psh:

```
psh
```

### Overriding

[](#overriding)

It is possible to override all of the commands in this library. One situation where you want to override the command is for example `sw6:release:zip`. This command creates a ZIP archive of your plugin/app folder and excludes unwanted files like composer.lock. So if you want to modify the excluded file list you need to override this command.

Do the following steps:

1. To override the command create a folder for example `psh/sw6/release/actions` in your plugins/apps root folder.
2. Then copy the `sw6:release:zip` action (shell script) and make the desired changes:

    ```
    cp vendor/mediameets/psh-commands/sw6/release/actions/zip.sh psh/sw6/release/actions/zip.sh
    ```
3. Last but not least add the new path to your created folder to the `.psh.xml.dist` configuration file in the overriden environment:

    ```

        vendor/mediameets/psh-commands/sw6/release/actions
        psh/sw6/release/actions

    ```

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

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://www.gravatar.com/avatar/039eda777373477c40a17037885dd098c204577d4727063834734db5035da61b?d=identicon)[marvinschroeder](/maintainers/marvinschroeder)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mediameets-psh-commands/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.4k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

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

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)

PHPackages © 2026

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