3xw/cakephp-clickup

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

CakePHP pages plugins

Installs: 30

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:cakephp-plugin

4.0.0 2021-12-31 15:23 UTC

This package is auto-updated.

Last update: 2024-04-16 16:46:51 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());