diff --git a/README.md b/README.md index e7a7a1bc..a9591fa0 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,9 @@ is not needed to install packages with these frameworks: | Porto | `porto-container` | RadPHP | `radphp-bundle` | REDAXO | `redaxo-addon` +| REDAXO bestyle-plugin | `redaxo-bestyle-plugin` +| REDAXO V5.* | `redaxo5-addon` +| REDAXO V5.* bestyle-plugin | `redaxo5-bestyle-plugin` | ReIndex | **`reindex-plugin`**
**`reindex-theme`** | Roundcube | `roundcube-plugin` | shopware | `shopware-backend-plugin`
`shopware-core-plugin`
`shopware-frontend-plugin`
`shopware-theme`
`shopware-plugin`
`shopware-frontend-theme` diff --git a/src/Composer/Installers/Installer.php b/src/Composer/Installers/Installer.php index 31551c0f..651c1904 100644 --- a/src/Composer/Installers/Installer.php +++ b/src/Composer/Installers/Installer.php @@ -87,6 +87,7 @@ class Installer extends LibraryInstaller 'phifty' => 'PhiftyInstaller', 'porto' => 'PortoInstaller', 'redaxo' => 'RedaxoInstaller', + 'redaxo5' => 'Redaxo5Installer', 'reindex' => 'ReIndexInstaller', 'roundcube' => 'RoundcubeInstaller', 'shopware' => 'ShopwareInstaller', diff --git a/src/Composer/Installers/Redaxo5Installer.php b/src/Composer/Installers/Redaxo5Installer.php new file mode 100644 index 00000000..23a20347 --- /dev/null +++ b/src/Composer/Installers/Redaxo5Installer.php @@ -0,0 +1,10 @@ + 'redaxo/src/addons/{$name}/', + 'bestyle-plugin' => 'redaxo/src/addons/be_style/plugins/{$name}/' + ); +} diff --git a/tests/Composer/Installers/Test/InstallerTest.php b/tests/Composer/Installers/Test/InstallerTest.php index 686e33f8..f9c117eb 100644 --- a/tests/Composer/Installers/Test/InstallerTest.php +++ b/tests/Composer/Installers/Test/InstallerTest.php @@ -197,6 +197,8 @@ public function dataForTestSupport() array('radphp-bundle', true), array('redaxo-addon', true), array('redaxo-bestyle-plugin', true), + array('redaxo5-addon', true), + array('redaxo5-bestyle-plugin', true), array('reindex-theme', true), array('reindex-plugin', true), array('roundcube-plugin', true), @@ -395,6 +397,8 @@ public function dataForTestInstallPath() array('radphp-bundle', 'src/Migration/', 'atkrad/migration'), array('redaxo-addon', 'redaxo/include/addons/my_plugin/', 'shama/my_plugin'), array('redaxo-bestyle-plugin', 'redaxo/include/addons/be_style/plugins/my_plugin/', 'shama/my_plugin'), + array('redaxo5-addon', 'redaxo/src/addons/my_plugin/', 'shama/my_plugin'), + array('redaxo5-bestyle-plugin', 'redaxo/src/addons/be_style/plugins/my_plugin/', 'shama/my_plugin'), array('reindex-theme', 'themes/my_module/', 'author/my_module'), array('reindex-plugin', 'plugins/my_module/', 'author/my_module'), array('roundcube-plugin', 'plugins/base/', 'test/base'),