37 Commits (111c42b8fbb8ebedff1a3b6418e069bb0137f89d)

Author SHA1 Message Date
Jordi Boggiano dee9bcb9f1 Add --stability and support for package:version and package=version to create-project, fixes #957 12 years ago
Colin Frei e4b8fe85a1 Check --name value if it's passed in, as that's not validated anywhere 12 years ago
Colin Frei b4cf3d06fd Make sure suggested value conforms to allowed values
Regex for replacement from https://github.com/composer/packagist/blob/master/src/Packagist/WebBundle/Entity/Package.php#L191
12 years ago
Colin Frei 6c4bdd14cd require $name to be lowercase 12 years ago
Nils Adermann 01593e0628 Merge pull request #1015 from Seldaek/memory
Reduce memory usage by only loading packages that are actually needed, fixes #456
12 years ago
Jordi Boggiano 41fc6ff9ee Fix formatRequirements return value, fixes #1026 12 years ago
Jordi Boggiano c31d588b7d Update init and depends commands to use the new filterPackages method 12 years ago
Jordi Boggiano de4e9c4022 Fix InputOption requirement flags 12 years ago
Beau Simensen d0773b20df Added minimum-stability option to init command, minor bug fixes
Added the ability to specify `minimum-stability` as an option.
Also added `homepage` and `require-dev` to the whitelist and
added necessary code to format dev requirements only if dev
requirements are present.
12 years ago
Jordi Boggiano ffecd39d33 Refactor repositories handling in config/factory/loader, fixes #828, fixes #826 12 years ago
Jordi Boggiano 3ac11b932c Expose default repositories in system config file 12 years ago
Jordi Boggiano 4a6ae454c2 Merge remote-tracking branch 'dpb587/multiple-repos'
Conflicts:
	src/Composer/Factory.php
	src/Composer/Package/Loader/RootPackageLoader.php
	tests/Composer/Test/Package/Loader/RootPackageLoaderTest.php
12 years ago
Jordi Boggiano 66e9dcddf4 CS fixes 12 years ago
Igor Wiedler a0c90bad0f Fix normalization in init command with --no-interaction and --require
When calling `composer init --no-interaction --require foo/bar:dev-master` it
would fail because in non-interactive mode it would only split on space.
12 years ago
Jordi Boggiano 1443ea25f9 Make sure a constraint is provided with input requirements 12 years ago
Jordi Boggiano 27f8019dbd Refactor init & require commands 12 years ago
Jordi Boggiano 1bd4ccbd54 php-cs-fixer magic 12 years ago
Jordi Boggiano 8ff497ac6f Skip filter_var on 5.3.2 since it is buggy 12 years ago
Danny Berger 8d6d155153 Add internal support for multiple default composer repositories. 12 years ago
Jordi Boggiano 7837be0621 Fix creation of ComposerRepository, refs #587 12 years ago
Jordi Boggiano 278f0ec350 Fix git config parsing, fixes #525 12 years ago
Peter O'Callaghan 579b86ec27 Allows apostrophe (and single quote, since this is often used in lieu) in author name. 12 years ago
Jordi Boggiano ea2d46bcff Fix ComposerRepository calls, fixes #475 12 years ago
Jérôme Tamarelle dd6608e4c2 Allow unicode characters for author in "composer init" command. 12 years ago
Jordi Boggiano 774e9d0da6 Remove dependency on filter_var 12 years ago
Jordi Boggiano ee7b68c049 Allow people to manually enter requirements 13 years ago
Jordi Boggiano 9a2204cd74 Improve username detection and other minor fixes 13 years ago
Jordi Boggiano f48cfb4fdf Avoid requirement on composer.json to search for requirements 13 years ago
Justin Rainbow 3a5d09a8b0 Removing the 'writeSection' method from 'DialogHelper' 13 years ago
Justin Rainbow 7a0a1788e3 Moved DialogHelper into the base Application 13 years ago
Justin Rainbow 9ec641659e Validating package name input for init command 13 years ago
Justin Rainbow 950bbcbed9 Init now asks user if they want to ignore the vendor dir 13 years ago
Justin Rainbow cd9c86c70c Adding author defaults to init command 13 years ago
Justin Rainbow 6ff7694de1 Fixing error when no requirements are defined 13 years ago
Justin Rainbow 2fbd9490b1 Adding a requirement definition stage to init command 13 years ago
Justin Rainbow 10ca974f33 Quick change to the help text for InitCommand 13 years ago
Justin Rainbow 34bbfb70d2 Initial version of InitCommand
This command allows a user to create a basic composer.json
definition easily.  The idea is to create a command similar
to the `npm init` command.

This version only has `name` and `description` support.
Additional fields will be added such as `require`, `authors`,
`version`, etc.
13 years ago