clubplanner-laravel maintained by proclame
Description
Laravel wrapper around the clubplanner-php package
Author
Last update
2020/10/09 11:09
(dev-main)
License
Downloads
4
Tags
clubplanner-laravel
This Laravel package is a wrapper for proclame/clubplanner-php.
Install
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
];
Usage
$member = Clubplanner::member()->find(123);
For more usage information, see proclame/clubplanner-php
Credits
License
The MIT License (MIT). Please see License File for more information.