3xw/cakephp-clickup

There is no license information available for the latest version (dev-main) of this package.

CakePHP pages plugins

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:cakephp-plugin

dev-main 2021-06-10 14:20 UTC

This package is auto-updated.

Last update: 2021-10-10 15:13:49 UTC


README

This plugin allows you handle dealwith clickup as driver/webservice/endpoint

Installation

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

composer require 3xw/cakephp-clickup

Load it in your src/Application.php

$this->addPlugin(\Trois\Clickup\Plugin::class);

Configure

in app.php

'Datasources' => [
	'click_up' => [
		'className' => 'Muffin\Webservice\Connection',
		'service' => 'Trois/Clickup.ClickUp',
		'token' => 'pk_***'
	],
	//..
]

Use

$this->loadModel('Trois/Clickup.Tasks', 'Endpoint');
debug($this->Tasks->find()->where(['listId' => 'xxx'])->toArray());
debug($this->Tasks->find()->where(['taskId' => 'xxx'])->toArray());