2017 © Pedro Peláez
 

composer-plugin magento-connect-composer-plugin

image

aydin-hassan/magento-connect-composer-plugin

  • Tuesday, April 5, 2016
  • by AydinHassan
  • Repository
  • 2 Watchers
  • 14 Stars
  • 8,138 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 8 Versions
  • 4 % Grown

The README.md

magento-connect-composer-plugin

A Composer plugin to install packages from Magento Connect using composer, without using a custom satis install like http://packages.firegento.com/, (*1)

This tool replaces using http://packages.firegento.com/ as I've found it to be unreliable, there are many packages found on connect that are not present. There seems to be a slight lag on new versions also. I created this plugin instead of contributing as it seems the source for the connect crawling is not public. I believe this tool is slightly more simple in its inner workings., (*2)

Setup

Require this plugin:

composer require aydin-hassan/magento-connect-composer-plugin

Define your connect packages:

{
    "name": "some-magento-project",
    "require": {
        "aydin-hassan/magento-connect-composer-plugin" : "~1.0"
    },
    "extra": {
        "connect-packages" : {
            "Adyen_Payment": "~2.3",
            "Aijko_WidgetImageChooser" : "*"
        }
    }
}

Note: The connect packages should be the conenct extenison key. The exact same case should be used as the connect server is case-sensitive. All versions available on connect will be available to you and you can use composer's special operators such as ^ , ~ and 1.*., (*3)

Update!

composer update

Tip: If you use this plugin inconjunction with magento-composer-installer the modules will also be installed to your magento-root-dir., (*4)

Finding modules

Either use: * Magento Connect or * Magento Extensions Download, (*5)

If you use connect you will need an account to view the extension key., (*6)

Notes

The first time you install the package, if you already have your extra defined, the connect packages will not be downloaded. This is due to the plugin needing to process the extra before composer performs dependency solving. Any events after the package has been installed for the first time are too late. However, a message will be printed in this circumstance telling you to run composer update again., (*7)

This problem is irrelevent if you first install the plugin then define your connect packages. This issue does not occur when installing from the lock file., (*8)

The Versions

05/04 2016

dev-master

9999999-dev

  Sources   Download

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

05/04 2016

1.4.1

1.4.1.0

  Sources   Download

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

04/04 2016

1.4.0

1.4.0.0

  Sources   Download

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

04/04 2016

1.3.0

1.3.0.0

  Sources   Download

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

03/03 2016

1.2.0

1.2.0.0

  Sources   Download

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

31/08 2015

1.1.0

1.1.0.0

  Sources   Download

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

28/08 2015

0.1.0

0.1.0.0

  Sources   Download

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires

28/08 2015

1.0.0

1.0.0.0

  Sources   Download

The Requires

  • composer-plugin-api ^1.0

 

The Development Requires