This repository has been archived by the owner on Sep 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 80
Composer
kherge edited this page Mar 21, 2013
·
7 revisions
Since there are two ways of using Box, there is one configuration file for each way. If Box is included as a dependency, the additional libraries used by Box should not be included with Composer (at least not all of them). Due to the way Composer handles loading of individual files, some Box files must be included to prevent the autoloader from generating on error. I recommend using Box as an app for building Composer.
{
"alias": "composer.phar",
"chmod": "0755",
"directories": ["src"],
"files": [
"LICENSE",
"vendor/herrera-io/file-system-functions/src/lib/fs_functions.php",
"vendor/herrera-io/json/src/lib/json_version.php",
"vendor/herrera-io/phar-update/src/lib/constants.php"
],
"finder": [
{
"name": "*.php",
"exclude": [
"herrera-io",
"kherge",
"phpseclib",
"phpunit",
"Tests",
"yaml"
],
"in": "vendor"
}
],
"git-version": "package_version",
"main": "bin/composer",
"output": "composer.phar",
"stub": true
}
{
"alias": "composer.phar",
"chmod": "0755",
"directories": ["src"],
"files": ["LICENSE"],
"finder": [
{
"name": "*.php",
"exclude": ["Tests"],
"in": "vendor"
}
],
"git-version": "package_version",
"main": "bin/composer",
"output": "composer.phar",
"stub": true
}