Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 818 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 818 Bytes

cakephp-clickup plugin for CakePHP

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());