Download the PHP package ofbeaton/oauth2-phabricator without Composer
On this page you can find all versions of the php package ofbeaton/oauth2-phabricator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ofbeaton/oauth2-phabricator
More information about ofbeaton/oauth2-phabricator
Files in ofbeaton/oauth2-phabricator
Package oauth2-phabricator
Short Description Phabricator OAuth 2.0 Client Provider for The PHP League OAuth2-Client
License MIT
Informations about the package oauth2-phabricator
Phabricator Provider for OAuth 2.0 Client
This package provides Phabricator OAuth 2.0 support for the PHP League's OAuth 2.0 Client.
Updates
The project is considered in a usable state and feature complete.
This project is used in corporate applications. As such, the authors are unlikely to update it on a regular basis, but instead when the corporate applications that use it run into problems. You should expect updates in the 5-10yr range.
Issues and PRs will be monitored, and we will continue to work with the community to provide updates as they are contributed.
Installation
To install, use composer:
Usage
Usage is the same as The League's OAuth client, using \Ofbeaton\OAuth2\Client\Provider\Phabricator
as the provider.
With oauth2-client bundles
Symfony Bundles like knpuniversity's oauth2-client-bundle or HWIOAuthBundle use the PHP League's OAuth 2.0 Client under the hood.
It is vital that you pass the domain for your phabricator install. For knpuniversity's oauth2-client-bundle this means in your Symfony config.yml
you want this instead:
Authorization Code Flow
Managing Scopes
When creating your Phabricator authorization URL, you can specify the state and scopes your application may authorize.
If neither are defined, the provider will utilize internal defaults.
At the time of authoring this documentation, no scopes are available.
Testing
Contributing
Please see CONTRIBUTING for details.
Credits
- Finlay Beaton
- Sammy Kaye Powers (through code from oauth2-facebook)
- Steven Maguire (through code from oauth2-github)
- All Contributors
License
The MIT License (MIT). Please see License File for more information.