proclame/monday-api-laravel

Laravel wrapper around the monday-api package from tblack-it

v0.4.1 2024-01-24 22:39 UTC

This package is auto-updated.

Last update: 2024-04-24 23:13:18 UTC


README

This Laravel package is a wrapper for tblack-it/monday-api.

Because of some changes in Monday's API, it is currently relying on a fork with latest updates. When these get pulled in, will revert to using tblack-it's package.

Licencing

Please note, the tblack-it/monday-api package is now GPLv3 Licensed, and so any modifications to that part should be open sourced as well.

This wrapper remains MIT licensed, meaning you can use/transform the code in any way you want.

Install

Via Composer

$ composer require proclame/monday-api-laravel

This package uses autodiscovery, so you don't have to manually add anything to your config/app.php.

In case you do not use autodiscovery:

Add the ServiceProvider and the Facade to your config/app.php:

'providers' => [
  ...
  Proclame\Monday\MondayServiceProvider::class,
],
'aliases' => [
  ...
  'Monday' => Proclame\Monday\MondayFacade::class,
]

OPTIONAL Then run the following command to publish the config to your config/ directory. It should be enough to add MONDAY_TOKEN=MYTOKEN to your .env file.

$ php artisan vendor:publish --tag=config
return [
    'monday_token' => 'MYTOKEN', // the token for your tenant on monday.com
];

Usage

$all_boards = Monday::getBoards();

For more usage information, see tblack-it/monday-api

Credits

License

The MIT License (MIT). Please see License File for more information.