PHP code example of proclame / clubplanner-laravel

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

    

proclame / clubplanner-laravel example snippets


'providers' => [
  ...
  Proclame\Clubplanner\ClubplannerServiceProvider::class,
],
'aliases' => [
  ...
  'Clubplanner' => Proclame\Clubplanner\ClubplannerFacade::class,
]

return [
    'clubplanner_url' => 'apiurl.clubplanner.be', // the url for your tenant on clubplanner
    'clubplanner_token' => 'MYTOKEN', // the token for your tenant on clubplanner
];
bash
$ php artisan vendor:publish --tag=config
 php
$member = Clubplanner::member()->find(123);