2017 © Pedro Peláez
 

library shopware-plugin-helpers

Helper classes for Shopware

image

pisc/shopware-plugin-helpers

Helper classes for Shopware

  • Tuesday, October 25, 2016
  • by pisc
  • Repository
  • 1 Watchers
  • 1 Stars
  • 108 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 15 Versions
  • 0 % Grown

The README.md

shopware-plugin-helpers

Helper classes for Shopware plugin development, (*1)

Install

Shopware >= 4.3 plugin

composer.json, (*2)

{
    "require": {
        "pisc/shopware-plugin-helpers": "^0.0.5"
    },
    "autoload": {
        "psr-4": {
            "Shopware\\Plugins\\SwagSloganOfTheDay": "src/"
        }
    }
}

Bootstrap.php, (*3)

public function install()
{
    $this->subscribeEvent('Enlight_Controller_Front_DispatchLoopStartup', 'onStartDispatch');
}

public function onStartDispatch(Enlight_Event_EventArgs $args)
{
    $this->registerMyComponents();

    $subscribers = [
        new Shopware\Plugins\SwagSloganOfTheDay\MySubscriber;
    ];

    foreach ($subscribers as $subscriber) {
        $this->Application()->Events()->addSubscriber($subscriber);
    }
}

public function registerMyComponents()
{
    // instead of:
    // $this->Application()->Loader()->registerNamespace(
    //     'Shopware\Plugins\SwagSloganOfTheDay',
    //     $this->Path() . "/src"
    // );

    // require composer autoload
    require_once $this->Path() . 'vendor/autoload.php';
}

Shopware >= 5.2 plugin

composer.json, (*4)

"require": {
    "pisc/shopware-plugin-helpers": "*"
}

The Versions

25/10 2016

dev-master

9999999-dev

Helper classes for Shopware

  Sources   Download

MIT

The Requires

 

The Development Requires

25/10 2016

0.0.16

0.0.16.0

Helper classes for Shopware

  Sources   Download

MIT

The Requires

 

The Development Requires

25/10 2016

0.0.14

0.0.14.0

Helper classes for Shopware

  Sources   Download

MIT

The Requires

 

The Development Requires

25/10 2016

0.0.15

0.0.15.0

Helper classes for Shopware

  Sources   Download

MIT

The Requires

 

The Development Requires

06/10 2016

0.0.13

0.0.13.0

Helper classes for Shopware

  Sources   Download

MIT

The Requires

 

The Development Requires

03/10 2016

0.0.12

0.0.12.0

Helper classes for Shopware

  Sources   Download

MIT

The Requires

 

The Development Requires

28/09 2016

0.0.10

0.0.10.0

Helper classes for Shopware

  Sources   Download

MIT

The Requires

 

28/09 2016

0.0.11

0.0.11.0

Helper classes for Shopware

  Sources   Download

MIT

The Requires

 

28/09 2016

0.0.9

0.0.9.0

Helper classes for Shopware

  Sources   Download

MIT

The Requires

 

28/09 2016

0.0.8

0.0.8.0

Helper classes for Shopware

  Sources   Download

MIT

The Requires

 

28/09 2016

0.0.7

0.0.7.0

Helper classes for Shopware

  Sources   Download

MIT

The Requires

 

28/09 2016

0.0.6

0.0.6.0

Helper classes for Shopware

  Sources   Download

MIT

The Requires

 

28/09 2016

0.0.5

0.0.5.0

Helper classes for Shopware

  Sources   Download

MIT

The Requires

 

28/09 2016

0.0.4

0.0.4.0

Helper classes for Shopware

  Sources   Download

MIT

The Requires

 

28/09 2016

0.0.3

0.0.3.0

Helper classes for Shopware

  Sources   Download

MIT

The Requires