Skip to content

Commit e5dceb6

Browse files
committed
Promote PHAR installation over Composer
1 parent ca83fd1 commit e5dceb6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@ Above command automatically adds the current working directory as a volume into
2424

2525
Please note that the Docker image for Mozart is only available starting from the `latest` build of version 0.7.0. The `latest` tag is always the latest build of the `master` branch and not a stable version. You can see [all available tags on Docker Hub](https://hub.docker.com/r/coenjacobs/mozart/tags).
2626

27-
### Composer
28-
Install through Composer, only required in development environments:
29-
30-
`composer require coenjacobs/mozart --dev`
31-
32-
This gives you a bin file named `mozart` inside your `vendor/bin` directory, after loading the whole package inside your project. Try running `vendor/bin/mozart` to verify it works.
33-
34-
After configuring Mozart properly, the `mozart compose` command does all the magic.
35-
3627
### PHAR (via Phive)
3728
Mozart can be installed via [Phive](https://github.com/phar-io/phive):
3829

@@ -46,6 +37,15 @@ Alternatively, the `mozart.phar` file can be [downloaded from the releases page]
4637
php mozart.phar compose
4738
```
4839

40+
### Composer
41+
Install through Composer, only required in development environments:
42+
43+
`composer require coenjacobs/mozart --dev`
44+
45+
This gives you a bin file named `mozart` inside your `vendor/bin` directory, after loading the whole package inside your project. Try running `vendor/bin/mozart` to verify it works.
46+
47+
After configuring Mozart properly, the `mozart compose` command does all the magic.
48+
4949
## Configuration
5050
Mozart requires little configuration. All you need to do is tell it where the bundled dependencies are going to be stored and what namespace they should be put inside. This configuration needs to be done in the `extra` property of your `composer.json` file:
5151

0 commit comments

Comments
 (0)