Skip to content

Commit

Permalink
set depends versions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlloVince committed Apr 30, 2015
1 parent f34533a commit c08973a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ EvaOAuth provides a standard interface for OAuth1.0 / OAuth2.0 client authorizat

## Features

- **Standard interface**, same code for both OAuth1.0 and OAuth2.0 different work flow, receiving token and user info as same format either.
- **Standard interface**, same code for both OAuth1.0 and OAuth2.0 different workflow, receiving token and user info as same format either.
- **Fully tested**
- **Easy to debug**, enable debug mode will record every request and response, to help you find out problems.
- **Easy to debug**, enable debug mode will record every request and response, help you find out problems quickly.
- **Out-of-the-box**, already supported most popular websites including Facebook. Twitter, etc.
- **Scalable**, integrate a new oauth website just need 3 lines code.

Expand Down Expand Up @@ -148,16 +148,10 @@ Refer wiki for details:

## Debug and Logging

Enable debug mode will print all request & response on screen.
Enable debug mode will log all requests & responses.

``` php
$service->debug();
```

Under production environment, recommend use log to trace problems.

``` php
$service->setLogPath('/tmp/access.log');
$service->debug('/tmp/access.log');
```

Make sure PHP script have permission to write log path.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
],
"require": {
"php": ">=5.4",
"guzzlehttp/guzzle": "5.2.*",
"guzzlehttp/guzzle": "~5.2",
"doctrine/cache": "~1.4",
"monolog/monolog": "1.13.*"
"monolog/monolog": "~1.13"
},
"require-dev": {
"mockery/mockery": "dev-master",
Expand Down

0 comments on commit c08973a

Please sign in to comment.