This Laravel package is a wrapper for proclame/clubplanner-php.
Via Composer
$ composer require proclame/clubplanner-laravel
Add the ServiceProvider and the Facade to your config/app.php
:
'providers' => [
...
Proclame\Clubplanner\ClubplannerServiceProvider::class,
],
'aliases' => [
...
'Clubplanner' => Proclame\Clubplanner\ClubplannerFacade::class,
]
Then run the following command to publish the config to your config/ directory.
$ php artisan vendor:publish --tag=config
return [
'clubplanner_url' => 'apiurl.clubplanner.be', // the url for your tenant on clubplanner
'clubplanner_token' => 'MYTOKEN', // the token for your tenant on clubplanner
];
$member = Clubplanner::member()->find(123);
For more usage information, see proclame/clubplanner-php
The MIT License (MIT). Please see License File for more information.