Download the PHP package krdinesh/laravel-oauth2-greenhouse without Composer
On this page you can find all versions of the php package krdinesh/laravel-oauth2-greenhouse. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download krdinesh/laravel-oauth2-greenhouse
More information about krdinesh/laravel-oauth2-greenhouse
Files in krdinesh/laravel-oauth2-greenhouse
Package laravel-oauth2-greenhouse
Short Description A Laravel 5.2 service provider for league/oauth2-greenhouse
License MIT
Informations about the package laravel-oauth2-greenhouse
krdinesh/laravel-oauth2-greenhouse
krdinesh/laravel-oauth2-greenhouse is a Laravel 5.2 service provider for krdinesh/oauth2-greenhouse.
Installation
The preferred method of installation is via Packagist and Composer. Run
the following command to install the package and add it as a requirement to
your project's composer.json
:
After requiring the package with Composer, you'll need to add the following to the providers
array in config/app.php
:
Then, add the following to the aliases
array in the same file:
Now, run the following to properly set up the package with your Laravel application:
Finally, Add your client ID, client secret, and redirect URI to config/greenhouse.php
.
Examples
Create an authorization URL and redirect users to it in order to request access to their Greenhouse account:
In the route for the redirect URI, check the state and authorization code, and use the code to get an access token. Store the token to the session or to the user's profile in your data store.
Copyright and License
The krdinesh/laravel-oauth2-greenhouse library is copyright ©Dinesh kumar and licensed for use under the MIT License (MIT). Please see LICENSE for more information.
All versions of laravel-oauth2-greenhouse with dependencies
illuminate/support Version ^5.2
krdinesh/oauth2-greenhouse Version ^1.0