PHP code example of slyvent / meetup-oauth2-provider

1. Go to this page and download the library: Download slyvent/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/ */

    

slyvent / meetup-oauth2-provider example snippets


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