1
0
Fork 0
Go to file
Tomáš Votruba 10f707e316
basic usage - promote safe version range
I'm aware this just an example, but it [leads readers to see it a best practise](40642df5ec (r29802440)).

Having code with `"php": ">=5.4.0"` is pretty dangerous and will probably break with next major version.

```json
{
    "require": {
        "php": "^5.4"
    }
}
```

```json
{
    "require": {
        "php": "^7.1"
    }
}
```

is much more safer. Promoting best and proven practise should from *Basic usage* helps people to use composer the best way they can.

What do you think?
2018-07-23 18:49:39 +02:00
.github Add security email for sensitive reports 2016-11-17 14:40:36 +01:00
bin Merge branch '1.6' 2018-05-04 11:18:18 +02:00
doc basic usage - promote safe version range 2018-07-23 18:49:39 +02:00
res Merge branch '1.6' 2018-05-03 17:38:09 +02:00
src Undo reformatting from #7441 2018-07-20 12:03:08 +02:00
tests Merge remote-tracking branch 'origin/1.6' 2018-07-20 11:39:44 +02:00
.gitattributes Exclude non-essential files from dist package 2017-12-09 22:20:45 -08:00
.gitignore Add PHPCSFixer config 2015-04-15 01:22:20 +01:00
.php_cs DX: .php_cs - drop commented option of v1 2018-06-17 12:01:38 +02:00
.travis.yml Restore $INI var 2018-03-29 23:36:46 +02:00
CHANGELOG.md Merge branch '1.6' 2018-05-04 11:47:45 +02:00
LICENSE lets avoid silly commits in the future 2017-01-19 12:10:26 +01:00
PORTING_INFO Import initial partial port of the libzypp satsolver. 2011-04-05 17:37:19 +02:00
README.md Fix: Remove VersionEye badges 2018-06-24 18:53:36 +02:00
appveyor.yml Cache composer packages on Appveyor 2017-12-19 12:45:23 +00:00
composer.json Enhancement: Normalize composer.json 2018-06-24 10:56:35 +02:00
composer.lock Update lock file 2018-07-20 13:48:39 +02:00
phpunit.xml.dist Stop running PEAR Repo test suite as it fails and is kinda irrelevant at this point 2016-02-25 13:10:46 +00:00

README.md

Composer - Dependency Management for PHP

Composer helps you declare, manage, and install dependencies of PHP projects.

See https://getcomposer.org/ for more information and documentation.

Build Status

Installation / Usage

Download and install Composer by following the official instructions.

For usage, see the documentation.

Packages

Find packages on Packagist.

Community

IRC channels are on irc.freenode.org: #composer for users and #composer-dev for development.

For support, Stack Overflow also offers a good collection of Composer related questions.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project and its community you agree to abide by those terms.

Requirements

PHP 5.3.2 or above (at least 5.3.4 recommended to avoid potential bugs)

Authors

See also the list of contributors who participated in this project.

Security Reports

Please send any sensitive issue to security@packagist.org. Thanks!

License

Composer is licensed under the MIT License - see the LICENSE file for details

Acknowledgments