Skip to content

Commit

Permalink
readme: simplify composer command (#42)
Browse files Browse the repository at this point in the history
I found a shorter way to add a composer repository to a project. This
also makes the command work in Windows OS.
  • Loading branch information
Erikvv authored Oct 4, 2022
1 parent a8e9225 commit d2eab1b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,10 @@ extension=ffi
ffi.enable=true
```

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

```
composer config repositories.storj/uplink '{
"type": "composer",
"url": "https://raw.githubusercontent.com/storj-thirdparty/uplink-php/main/"
}' &&
composer config repositories.storj/uplink composer https://raw.githubusercontent.com/storj-thirdparty/uplink-php/main/
composer require storj/uplink
```

Expand Down

0 comments on commit d2eab1b

Please sign in to comment.