composer --no-scripts update fake-repo-to-force-bin-symlinking
"":"lib/"
dump-autoload -o
just scans those directories and correctly builds the class map
"autoload": {
"classmap": ["lib/App/"]
}
~/.composer
file, create one. :D
"minimum-stability": "dev",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "~2.0.6",
"yiisoft/yii2-bootstrap": "~2.1.0",
"yiisoft/yii2-swiftmailer": "~2.0.0",
"yiisoft/yii2-imagine": "^2.1",
"unclead/yii2-multiple-input": "~2.0",
"yiisoft/yii2-jui": "^2.0",
"kartik-v/yii2-widget-select2": "@dev",
"kartik-v/yii2-widget-depdrop": "@dev",
"phpoffice/phpexcel": "^1.8",
"mpdf/mpdf": "^6.1"
},
Hey all, is there anway that I can force composer to install a package even if it doesn't meet the requirement?
My composer.json requires framework-bundle: 3.0; The package barcode-bundle requires ~2.3. I want to see if i can force the install of the package to see if i can get it working.
My Composer.json
require: {
"symfony/framework-bundle": "3.0",
"mopa/barcode-bundle": "dev-master",
}
barcode-bundle composer.json
require: {
"symfony/framework-bundle": "~2.3",
}