3xw / cakephp-clickup
CakePHP pages plugins
Installs: 33
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
- php: >=7.1
- cakephp/cakephp: ^4.0
- muffin/webservice: dev-master
Requires (Dev)
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());