Skip to content

Commit 9688e4d

Browse files
committed
Fix README
1 parent cf631ee commit 9688e4d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
PHP bindings for Upwork API (OAuth2)
22
============
33

4-
[![License](http://img.shields.io/packagist/l/upwork/php-upwork.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
5-
[![Latest Stable Version](https://poser.pugx.org/upwork/php-upwork/v/stable.svg)](https://github.com/upwork/php-upwork/releases)
6-
[![Package version](http://img.shields.io/packagist/v/upwork/php-upwork.svg)](https://packagist.org/packages/upwork/php-upwork)
7-
[![Build status](https://travis-ci.org/upwork/php-upwork.svg)](http://travis-ci.org/upwork/php-upwork)
8-
[![Monthly downloads](http://img.shields.io/packagist/dm/upwork/php-upwork.svg)](https://packagist.org/packages/upwork/php-upwork)
4+
[![License](http://img.shields.io/packagist/l/upwork/php-upwork-oauth2.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
5+
[![Latest Stable Version](https://poser.pugx.org/upwork/php-upwork-oauth2/v/stable.svg)](https://github.com/upwork/php-upwork-oauth2/releases)
6+
[![Package version](http://img.shields.io/packagist/v/upwork/php-upwork-oauth2.svg)](https://packagist.org/packages/upwork/php-upwork-oauth2)
7+
[![Build status](https://travis-ci.org/upwork/php-upwork-oauth2.svg)](http://travis-ci.org/upwork/php-upwork-oauth2)
8+
[![Monthly downloads](http://img.shields.io/packagist/dm/upwork/php-upwork-oauth2.svg)](https://packagist.org/packages/upwork/php-upwork-oauth2)
99
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/5e7c00ac-ac19-4b77-92ab-e8888a60028e/mini.png)](https://insight.sensiolabs.com/projects/5e7c00ac-ac19-4b77-92ab-e8888a60028e)
1010

1111
# Introduction
@@ -33,7 +33,7 @@ These are the supported API resources:
3333

3434
Copyright 2018 Upwork Corporation. All Rights Reserved.
3535

36-
php-upwork is licensed under the Apache License, Version 2.0 (the "License");
36+
php-upwork-oauth2 is licensed under the Apache License, Version 2.0 (the "License");
3737
you may not use this file except in compliance with the License.
3838
You may obtain a copy of the License at
3939

@@ -71,18 +71,18 @@ Below is a simple example of the `composer.json` file you can use:
7171
{
7272
"name": "upwork/my-oauth2-app",
7373
"require": {
74-
"upwork/php-upwork": "dev-master"
74+
"upwork/php-upwork-oauth2": "dev-master"
7575
}
7676
}
7777

7878
## Installation using Composer
7979
1.
80-
Add `upwork/php-upwork` to your `composer.json`, simple example:
80+
Add `upwork/php-upwork-oauth2` to your `composer.json`, simple example:
8181
```
8282
{
8383
"name": "my/my-oauth-app",
8484
"require": {
85-
"upwork/php-upwork": "v2.0.0" // note: the latest release is recommended
85+
"upwork/php-upwork-oauth2": "v2.0.0" // note: the latest release is recommended
8686
}
8787
}
8888
```
@@ -94,7 +94,7 @@ the output should look similar to
9494
```
9595
Loading composer repositories with package information
9696
Updating dependencies (including require-dev)
97-
- Installing upwork/php-upwork (v2.0.0)
97+
- Installing upwork/php-upwork-oauth2 (v2.0.0)
9898
Downloading: 100%
9999
100100
Writing lock file
@@ -105,9 +105,9 @@ Generating autoload files
105105
IMPORTANT:
106106
The library supports different OAuth2 clients, by default it uses `thephpleague/oauth2-client`.
107107
In case you don't want to use it, or you don't have the possibility to install it, you can create
108-
your own wrapper (check `vendor/upwork/php-upwork/src/Upwork/API/AuthTypes/` to see how it works).
108+
your own wrapper (check `vendor/upwork/php-upwork-oauth2/src/Upwork/API/AuthTypes/` to see how it works).
109109

110-
copy `vendor/upwork/php-upwork/example/example.php` to the `myapp.php` if you have
110+
copy `vendor/upwork/php-upwork-oauth2/example/example.php` to the `myapp.php` if you have
111111

112112
*NOTE: if you use your own wrapper, update 'authType' property in the configuration section of
113113
`myapp.php` and specify the name of your handler.*

0 commit comments

Comments
 (0)