Skip to content

Commit 9082c61

Browse files
author
Castellanos, Eleazar
committed
Updated installation instructions
1 parent e4a263b commit 9082c61

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# eBay OAuth Client Contribution Guidelines
22

3-
Thank you so much for wanting to contribute to ebay-oauth-php-client ! Here are a few important things you should know about contributing:
3+
Thank you so much for wanting to contribute to ebay-oauth-php-client! Here are a few important things you should know about contributing:
44

55
1. API changes require discussion, use cases, etc. Code comes later.
66
2. Pull requests are great for small fixes for bugs, documentation, etc.

README.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,26 @@ This library is created as a PHP project and can be used as a dependency in a PH
1313
## Installation
1414
Install in your project by downloading the repo and extracting in your project or using composer
1515

16+
### Composer
17+
Add the library to your `composer.json`
18+
```
19+
{
20+
"require": {
21+
"ebay/ebay-oauth-php-client": "^1.0"
22+
},
23+
"repositories": [
24+
{
25+
"type": "vcs",
26+
"url": "https://github.com/eaglexboy/ebay-oauth-php-client"
27+
}
28+
]
29+
}
30+
```
31+
or via command line
32+
```
33+
composer config repositories.ebay-oauth-php-client vcs https://github.com/eaglexboy/ebay-oauth-php-client
34+
composer require ebay/ebay-oauth-php-client:"^1.0"
1635
```
17-
composer require ebay/ebay-oauth-php-client --repository='{"type":"vcs","url":"https://github.com/eaglexboy/ebay-oauth-php-client"}'
18-
```
1936

2037
## Getting Started
2138
All interactions with this library can be performed using `oauth2Api = new OAuth2Api();`
@@ -73,6 +90,6 @@ Contributions in terms of patches, features, or comments are always welcome. Ref
7390
3. https://developer.ebay.com/my/keys
7491

7592
## License
76-
Copyright (c) 2023 eBay Inc.
93+
Copyright (c) 2024 eBay Inc.
7794

7895
Use of this source code is governed by a Apache-2.0 license that can be found in the LICENSE file or at https://opensource.org/licenses/Apache-2.0.

0 commit comments

Comments
 (0)