Giter Site home page Giter Site logo

sdswpluginmanager's Introduction

Shopware plugin manager

Test and build

This is a CLI based plugin manager that can simply install, uninstall, enable or disable plugins in a shopware shop. The shopware instance needs not to be fully working for this plugin manager to work as it is designed to be independent from the Shopware core itself.

The StoreApiProvider is heavily inspired by store-plugin-installer from shyim see here

Install

The recommended way to install this package manager is to require it via composer:

composer require solutiondrive/sdswpluginmanager

Alternatively, you can just download a release and unzip it.

Usage as a manual package manager

This package manager can be used as a (not feature complete) drop-in replacement for Shopware's console plugin commands:

bin/sd-plugin-manager sd:plugins:install
bin/sd-plugin-manager sd:plugins:activate
bin/sd-plugin-manager sd:plugins:deactivate
bin/sd-plugin-manager sd:plugins:uninstall
bin/sd-plugin-manager sd:plugins:update

Usage as an automatic package manager

But the more important feature is the automatic package management. You can provide a configuration file containing the plugins to be installed in the current shop. Then this package manager will ensure that the shop contains exactly the specified plugins in the specified version. To update plugins, that are managed by composer, you have to define a plugin version in your configuration file.

You can see an example for such a configuration in etc/examples/example_config.yml.

bin/sd-plugin-manager sd:plugins:deploy:auto --env=dev etc/examples/example_config.yml

Develop

To create the phar, you need to install kherge/box globally: (The global composer bin path needs to be available in $PATH)

composer global require kherge/box

Install the dependencies

composer install --optimize-autoloader -n

Create the phar file

box build -c box.json

Perhaps it is necessary to allow php to create a phar

php -d phar.readonly=0 ~/.composer/vendor/bin/box build -c box.json

The newly created phar file can be used just like this:

build/sd-sw-plugin-manager.phar --help

License

MIT. See file /LICENSE .

sdswpluginmanager's People

Contributors

jnoack331 avatar m3gg3r avatar michz avatar sd-lueckel avatar sd-obermeyer avatar thebreaken avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

m3gg3r

sdswpluginmanager's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.