How to download only the ZF2 minimal package in composer

For programming and general questions on Zend Framework
Post Reply
gilbertoalbino
Posts: 5
Joined: Wed Jun 06, 2012 2:53 pm

How to download only the ZF2 minimal package in composer

Post by gilbertoalbino » Wed Jun 06, 2012 3:05 pm

Hi there!
I just started trying out Zend Skeleton application and got very bored with the very new Composer Tool.
It is indeed a good Tool, however... I am sure I don't like to wait for 110MB of files to be download from ZF repository within the Full package!!!!

I' d like to know how to pass only the minimal package download in the composer.json file.

The distributed file is as below. Is there a way to change that so that only the minimal is downloaded?

Code: Select all

{
    "name": "zendframework/skeleton-application",
    "description": "Skeleton Application for ZF2",
    "license": "BSD-3-Clause",
    "keywords": [
        "framework",
        "zf2"
    ],
    "homepage": "http://framework.zend.com/",
    "require": {
        "php": ">=5.3.3",
        "zendframework/zendframework": "dev-master#cef2f9c90a9dc3fe3018b624ff9113666a397b73"
    },
    "autoload": {
        "psr-0": {
            "Application": "module/Application/src"
        }
    }
}

pzagainov
Posts: 3
Joined: Mon Nov 26, 2012 3:05 pm

Re: How to download only the ZF2 minimal package in composer

Post by pzagainov » Mon Nov 26, 2012 4:37 pm

some packages (http) don't use stable versions.
solved

Post Reply