PHP code example of dcblogdev / laravel-eventbrite

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

    

dcblogdev / laravel-eventbrite example snippets


use Dcblogdev\Eventbrite\Facades\Eventbrite;

Route::get('eventbrite', function() {

    //get all events
    Eventbrite::events(); 
    
});

Eventbrite::get('users/me/organizations');

Eventbrite::get('path', $array);
Eventbrite::post('path', $array);
Eventbrite::put('path', $array);
Eventbrite::patch('path', $array);
Eventbrite::delete('path', $array);

php artisan vendor:publish --provider="Dcblogdev\Eventbrite\EventbriteServiceProvider" --tag="config"