Magento / Web Apps

Install Magento 1.x plugins using composer

by ,

We have by far the largest RPM repository with dynamic stable NGINX modules and VMODs for Varnish 4.1 and 6.0 LTS. If you want to install NGINX, Varnish, and lots of useful modules for them, this is your one-stop repository to get all performance-related software.
You have to maintain an active subscription in order to be able to use the repository!

I have had some issues understanding all the possible ways on installing a Magento plugin using composer. Search no more. It goes down to simple steps below:

Step 1. Setup your composer.json file (one time)

Create composer.json file in your Magento directory with the following contents:

    "require": {
        "colinmollenhour/modman": "^1.12",
        "magento-hackathon/magento-composer-installer": "^3.1"
    "repositories": [
            "type": "composer",
            "url": ""
        "magento-root-dir": "./",
        "auto-append-gitignore": false,
        "magento-deploystrategy": "copy",
        "magento-deploystrategy-dev": "symlink",
        "magento-force": true,
        "with-bootstrap-patch": false

Step 2. Install a plugin

Let’s install Lesti FPC plugin for example. Run:

composer require --update-no-dev gordonlesti/lesti_fpc

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: