Download the PHP package magento-hackathon/magento-composer-installer without Composer
On this page you can find all versions of the php package magento-hackathon/magento-composer-installer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download magento-hackathon/magento-composer-installer
More information about magento-hackathon/magento-composer-installer
Files in magento-hackathon/magento-composer-installer
Package magento-composer-installer
Short Description Composer installer for Magento modules
License OSL-3.0
Homepage https://github.com/magento-hackathon/magento-composer-installer
Informations about the package magento-composer-installer
!!! support the maintainer of this project via Patreon: https://www.patreon.com/Flyingmana
Magento Composer Installer
The purpose of this project is to enable composer to install Magento modules, and automatically integrate them into a Magento installation and add Composer's vendor autoloader ability to Magento's so that Composer-compatible 3rd party tools can be used.
If you want to install the Magento Core, you should try AydinHassan/magento-core-composer-installer as an additional plugin.
We strongly recommend you to also read the general composer documentation at getcomposer.org
Also you should see:
Magento 2
Congratulation to be working with Magento 2. Don't try to use it together with this project. Your princess is in another Castle
Project Details
This project only covers the custom installer for composer. If you have problems with outdated versions, need to install magento connect modules or similar, you need to look for packages.firegento.com which you probably should add as composer repository (globally)
supported PHP Versions
We don't officially support PHP versions which are End of Life means which they don't get security patches anymore. Even if the install requirement still allows them.
This will change, as soon as someone is willing to pay for supporting them.
support contacts
If you have problems please have patience, as normal support is done during free time.
If you are willing to pay to get your problem fixed, communicate this from the start to get faster responses.
If you need consulting, support, training or help regarding Magento and Composer, you have the chance to hire one of the following people/companies.
- Daniel Fahlke aka Flyingmana (Maintainer): [email protected] @Flyingmana
- brandung - Magento Team: [email protected] (http://brandung.de)
other support contacts
- irc: freenode the channels #magento-composer #magento-reddit and for german speaking people #magento-de
- twitter: @firegento
changelog
See CHANGELOG.md.
=======
Known issues
need to redeploy packages
earlier we suggested the use of the command integrator package, that is not needed anymore.
This does remove all deployed files and redeploys every module
using non default autoloading
we handle this topic in our FAQ.
Timeouts and slow downloading.
Mostly caused by outages of Github, Repositories or the Internet. This is a common problem with having all packages remote.
For all of this issues you can make use of the commercial Toran Proxy. It also allows hosting of private packages and speeds up the whole downloading process.
Another alternative is to look into Satis, bare git mirrors and repository aliasing.
Another way to speedup downloads over ssh (also interesting for satis users) is to improve your ssh configs. At least for newer versions of openSSH you can add the following to your to reuse previous connections.
also you need to create the directory:
further information can be found on wikibooks
Usage
Update the Installer
as this is a composer plugin, you should only use these two commands to update the installer
the second command needs maybe a --with-dependencies
Depending on your workflow with composer, you may want to use more explicit versions
Install a module in your project
make sure to use the public Magento module repository as composer repository:
configure your magento root dir
, the directory where your magento resides:
an example how your project could look like:
Auto add files to .gitignore
If you want to have the deployed files automatically added to your .gitignore file
, then you can just set the auto-append-gitignore
key to true:
The .gitignore
file will be loaded from the current directory, and if it does not exist, it will be created. Every set of module files, will have a comment above them
describing the module name for clarity.
Multiple deploys will not add additional lines to your .gitignore
, they will only ever be added once.
Adding Composer's autoloader to Magento
Documentation available here.
Overwriting a production setting (DevMode)
Example in devmode doc.
Include your project in deployment
When the magento-composer-installer is run, it only looks for magento-modules among your project's dependencies. Thus, if
your project is a magento-module and you want to test it, you will need a second composer.json
for deployment,
where your project is configured as a required package.
If you wish to deploy your project's files (a.k.a. root package), too, you need to setup your composer.json
as follows:
Testing
First clone the magento-composer-installer, then install the dev-stuff (installed by default):
then run in project-root directory.
Note: Windows users please run with Administrator permissions.
Further Information
- FAQ
- Make a Magento module installable with composer
- About File Mapping like for example modman
- About Deploying files into your Magento root and possible configs
External Links
- Composer How to Screencast
- Introducing Composer Blog on Magebase.com
- Magento, Composer and Symfonys Dependency Injection
- Using Composer for Magento(at engineyard)
Core Contributors
- Daniel Fahlke aka Flyingmana (Maintainer)
- Jörg Weller
- Karl Spies
- Tobias Vogt
- David Fuhr
- Amir Tchavoshinia
- Vinai Kopp (Maintainer)
Thank You
There are a few companies we want to thank for supporting this project in one way or another.
digital.manufaktur GmbH
Teached me (Flyingmana) most I know about Magento and paid my participation for the hackathon were the installer got created.
melovely
Support me (Flyingmana) as my current employer very much in my work on everything composer related.
All versions of magento-composer-installer with dependencies
flyingmana/composer-config-reader Version *
symfony/console Version ^2.5|^3.0|^4.0|^5.0
composer-plugin-api Version ^2.0