Skip to content

proclame/clubplanner-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Laravel wrapper around our clubplanner-php package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages