GrahamCampbell / Laravel-GitHub

A GitHub API bridge for Laravel
https://gjcampbell.co.uk
MIT License
613 stars 120 forks source link

Update Installation composer example #127

Closed ahinkle closed 3 years ago

ahinkle commented 3 years ago

PR adds quotations around the installation notes to specify the version. Using Composer 2.

Screen Shot 2021-01-13 at 8 53 38 PM
GrahamCampbell commented 3 years ago

What happens if you delete the quotes around the colons?

ahinkle commented 3 years ago

Ah - Like this?

╰─ composer require "graham-campbell/github:^10.0" "guzzlehttp/guzzle:^7.2" "http-interop/http-factory-guzzle:^1.0" 
./composer.json has been updated
Running composer update graham-campbell/github guzzlehttp/guzzle http-interop/http-factory-guzzle
Loading composer repositories with package information
Updating dependencies
....

It works - I've updated my PR; let me know if you prefer the other way.

GrahamCampbell commented 3 years ago

Thanks.