Thursday, 8 August 2013

How to minimize size of composer download?

How to minimize size of composer download?

I'm using composer to download two packages like this:
{
"require": {
"propel/propel1": "1.6.9",
"smarty/smarty": "v3.1.14"
}
}
Now for example this smarty package is loading whole svn repository (not
only files) and just the .svn folder weights 12MB. It also loads
documentation and bunch of other files that can be useful in development,
but have no right to be part of the production environment.
My question is - is there a way to install packages only with files that
are libraries needed to run the application?

No comments:

Post a Comment