Skip to content

Commit

Permalink
Pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Feb 11, 2017
1 parent 8014f59 commit 906a365
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 5 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,36 @@ If I didn't see your issue, PR please ping me direct by [Telegram](https://teleg
* MailRu
* Odnoklassniki

## Installation

The recommended way to install `socialconnect/auth` is via Composer.

1. If you do not have composer installed, download the [`composer.phar`](https://getcomposer.org/composer.phar) executable or use the installer.

``` sh
$ curl -sS https://getcomposer.org/installer | php
```

2. Run `php composer.phar require socialconnect/auth` or add a new requirement in your composer.json.

``` json
{
"require": {
"socialconnect/auth": "~1.0.0"
}
}
```

3. Run `php composer.phar update`

## How to use

Composer:

```sh
composer install
```

First you need to setup `SocialConnect\Auth\Service`:

```php
Expand Down
2 changes: 1 addition & 1 deletion src/OAuth1/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "library",
"require": {
"php": ">=5.5",
"socialconnect/provider": "dev-master"
"socialconnect/provider": "~1.0.0"
},
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/OAuth2/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "library",
"require": {
"php": ">=5.5",
"socialconnect/provider": "dev-master"
"socialconnect/provider": "~1.0.0"
},
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/OpenID/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "library",
"require": {
"php": ">=5.5",
"socialconnect/provider": "dev-master"
"socialconnect/provider": "~1.0.0"
},
"license": "MIT",
"authors": [
Expand Down
4 changes: 2 additions & 2 deletions src/OpenIDConnect/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"type": "library",
"require": {
"php": ">=5.5",
"socialconnect/provider": "dev-master",
"socialconnect/oauth2": "dev-master"
"socialconnect/provider": "~1.0.0",
"socialconnect/oauth2": "~1.0.0"
},
"license": "MIT",
"authors": [
Expand Down

0 comments on commit 906a365

Please sign in to comment.