You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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?
6 years ago
..
articles Merge branch '1.6' 6 years ago
dev Prioritize repository over package versions in the default policy, fixes #3509 9 years ago
faqs Document the versioning system used by Composer. 6 years ago
fixtures Clean up documentation 7 years ago
00-intro.md Merge branch '1.6' 6 years ago
01-basic-usage.md basic usage - promote safe version range 6 years ago
02-libraries.md Docs: Add back a second clear note about hardcoded versions in VCS 7 years ago
03-cli.md add alias `u` to the update command 6 years ago
04-schema.md Merge pull request #7259 from tflori/doc-readme-patch 6 years ago
05-repositories.md Update example for auth.json in BitBucket config 6 years ago
06-config.md add hint for possible need of gitlab-domains option 6 years ago
07-community.md Change links to prevent unnecessary redirect 7 years ago