Jordi Boggiano
d249d0c121
Reset composer to load the new requirements, fixes #3511
10 years ago
Nils Adermann
859c8f5bb3
Use the repositories configured in composer.json for the require command
10 years ago
Olivier Laurendeau
b6b3cf3a49
Add ignore-platform-reqs option to require command
10 years ago
Jordi Boggiano
94926218e8
CS fixes
10 years ago
Jordi Boggiano
2e1373b339
Update require message and delete empty file at the end in case of failure, fixes #3260
10 years ago
Nils Adermann
1e4df0690a
Shorter boolean conversion
10 years ago
Nils Adermann
e93eeca13a
Merge pull request #2894 from naderman/update-no-dev
...
Add an --update-no-dev option to the require command
10 years ago
Nils Adermann
a2b227740a
Add an --update-no-dev option to the require command
10 years ago
Nils Adermann
465f0e3761
When requiring a package remove it from require-dev and vice versa
10 years ago
Steve Buzonas
3ad47b5d2c
add allowing require to update dep chain, fixes composer/composer#2668
11 years ago
Jordi Boggiano
e126c92525
Fix exit codes, cc @tyrael
11 years ago
Nils Adermann
d00ca4bcdb
Add a Command event triggered by all comands which load plugins
11 years ago
Jordi Boggiano
51ea1f03f9
Validate constraints in require command, fixes #2197
11 years ago
John Long
4d6910ece6
Remove unused variable $dialog from RequireCommand::configure
...
I traced the get and getHelperSet to Symfony's Console\Command and Console\Helper\HelperSet, and there was only stored variables being retrieved (no actions being done that'd require these functions to be called).
11 years ago
Jordi Boggiano
7ae0dd2a2a
Always install dev requirements when using the require command, fixes #1676
11 years ago
Jordi Boggiano
be861f090a
Remove filterPackages and add RepositoryInterface::search, refactor all commands to use new methods and remove all usage of the full package list for Composer repositories that support providers, fixes #1646
11 years ago
Jordi Boggiano
dd372e7635
Add explicit return
12 years ago
Bilal Amarni
ae9a001053
RequireCommand - check if composer.json is writable
12 years ago
Bilal Amarni
99e4173b3d
RequireCommand - rollback if it fails ( fixes #1469 )
12 years ago
Igor Wiedler
24611ec919
Add newline because JsonManipulator does not expand {}
12 years ago
Igor Wiedler
a48675005b
Implicitly create composer.json in require command
...
This allows shorteninig install instructions if you do not want to use init
(because it is interactive) and you do not want to use create-project (there
is no skeleton, or you do not want to use a skeleton).
12 years ago
Galymzhan
f59181d7d5
add support for --no-progress, fixes #621
12 years ago
Beau Simensen
8d1d060d66
Made getComposerFile static.
12 years ago
Arnaud Le Blanc
0119e80c18
added --prefer-dist option to require command
12 years ago
Jordi Boggiano
0d31e4c567
Add --no-update flag to require
12 years ago
Jordi Boggiano
31330a739f
Fix CS
12 years ago
Jordi Boggiano
8ffe3c2e26
Cosmetic fixes
12 years ago
Jordi Boggiano
42c501aaa4
Force the installation of the newly required packages in require command
12 years ago
Jordi Boggiano
27f8019dbd
Refactor init & require commands
12 years ago
Jérémy Romey
260d7d434f
Add a command for adding package to composer.json
...
Updated doc for require command
12 years ago