Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/g105b/oauth2-twitter


https://github.com/g105b/oauth2-twitter

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        

# Twitter Provider for OAuth 2.0 Client
[![Latest Version](https://img.shields.io/github/release/thephpleague/oauth2-twitter.svg?style=flat-square)](https://github.com/thephpleague/oauth2-twitter/releases)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Build Status](https://img.shields.io/travis/thephpleague/oauth2-twitter/master.svg?style=flat-square)](https://travis-ci.org/thephpleague/oauth2-twitter)
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/thephpleague/oauth2-twitter.svg?style=flat-square)](https://scrutinizer-ci.com/g/thephpleague/oauth2-twitter/code-structure)
[![Quality Score](https://img.shields.io/scrutinizer/g/thephpleague/oauth2-twitter.svg?style=flat-square)](https://scrutinizer-ci.com/g/thephpleague/oauth2-twitter)
[![Total Downloads](https://img.shields.io/packagist/dt/league/oauth2-twitter.svg?style=flat-square)](https://packagist.org/packages/league/oauth2-twitter)

This package provides Twitter OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).

## Installation

To install, use composer:

```
composer require league/oauth2-twitter
```

## Usage

Usage is the same as The League's OAuth client, using `\League\OAuth2\Client\Provider\Twitter` as the provider.

## Testing

``` bash
$ ./vendor/bin/phpunit
```

## Contributing

Please see [CONTRIBUTING](https://github.com/thephpleague/oauth2-twitter/blob/master/CONTRIBUTING.md) for details.

## Credits

- [Greg Bowler](https://github.com/g105b)
- [All Contributors](https://github.com/thephpleague/oauth2-twitter/contributors)

## License

The MIT License (MIT). Please see [License File](https://github.com/thephpleague/oauth2-twitter/blob/master/LICENSE) for more information.