PHP code example of howlowck / meetup-oauth2-provider

1. Go to this page and download the library: Download howlowck/meetup-oauth2-provider library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

howlowck / meetup-oauth2-provider example snippets


$provider =  new \Howlowck\OAuth2\Client\Provider\Meetup(array(
    'clientId'  =>  'YOUR_CONSUMER_KEY',
    'clientSecret'  =>  'YOUR_CONSUMER_SECRET',
    'redirectUri' => 'your-redirect-url',
    'scopes' => array('basic'),
));