This package is now part of the League's OAuth1 Client., (*1)
If you are currently dependent upon this package for your project update your composer dependancies to use version >1.1.0 of the League's OAuth1 Client., (*2)
Trello OAuth 1 Server
, (*3)
A PHP client for authenticating with Trello using OAuth 1. This package is made for the League's OAuth1 Client., (*4)
Install
Via Composer, (*5)
``` bash
$ composer require stevenmaguire/trello-oauth1-server, (*6)
## Usage
### To Instantiate a Server
```php
$server = new \Stevenmaguire\OAuth2\Client\Server\Trello(array(
'identifier' => 'your-identifier',
'secret' => 'your-secret',
'callback_uri' => 'http://your-callback-uri/',
'name' => 'your-application-name', // optional, defaults to null
'expiration' => 'your-application-expiration', // optional ('never', '1day', '2days'), defaults to '1day'
'scope' => 'your-application-scope' // optional ('read', 'read,write'), defaults to 'read'
));
Documentation
For more consumption details, please refer to the readme on League's OAuth1 Client., (*7)
Testing
bash
$ phpunit
, (*8)
Contributing
Please see CONTRIBUTING for details., (*9)
Credits
License
The MIT License (MIT). Please see License File for more information., (*10)