Skip to content

Commit d2eab1b

Browse files
authored
readme: simplify composer command (#42)
I found a shorter way to add a composer repository to a project. This also makes the command work in Windows OS.
1 parent a8e9225 commit d2eab1b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,10 @@ extension=ffi
3535
ffi.enable=true
3636
```
3737

38-
3. Install using composer. Copy and run:
38+
3. Add it as a requirement to your project's composer.json to install. Run:
3939

4040
```
41-
composer config repositories.storj/uplink '{
42-
"type": "composer",
43-
"url": "https://raw.githubusercontent.com/storj-thirdparty/uplink-php/main/"
44-
}' &&
41+
composer config repositories.storj/uplink composer https://raw.githubusercontent.com/storj-thirdparty/uplink-php/main/
4542
composer require storj/uplink
4643
```
4744

0 commit comments

Comments
 (0)