Download the PHP package vgtechs/yii2-kanban without Composer
On this page you can find all versions of the php package vgtechs/yii2-kanban. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-kanban
Kanban board implementation for yii2
Resources
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require
section of your composer.json
.
Usage
In order to use this module, you will need to:
- Setup Module your application so that the module is available.
- Create a user identity class which extends UserInterface
Setup Module
Configure the module in the modules section of your Yii configuration file.
Parameters
Parameter | Description |
---|---|
statuses |
Define your own task statuses. |
statusColors |
Add your own color for each status. Be sure to define a color for each status if you override colors or define your own statuses. |
Notice: The Statuses
Task::STATUS_NOT_BEGUN
,Task::STATUS_DONE
andTASK::STATUS_LATE
will automatically be defined if you do not define them.
Events
Event | Description |
---|---|
EVENT_BOARD_CREATED |
Will be triggered after a new board was created. |
EVENT_BUCKET_CREATED |
Will be triggered after a new bucket was created in any board. |
EVENT_TASK_CREATED |
Will be triggered after a task was created in any bucket. |
EVENT_TASK_ASSIGNED |
Will be triggered after a task got assigned to a user. |
EVENT_TASK_UNASSIGNED |
Will be triggered after an assignment from a task to a user got revoked. |
EVENT_TASK_STATUS_CHANGED |
Will be triggered after a tasks status changed. |
EVENT_TASK_COMPLETED |
Will be triggered after a tasks status changed to Task::STATUS_DONE . |
EVENT_CHECKLIST_CREATED |
Will be triggered after a task got one or more new checklist elements. |
EVENT_COMMENT_CREATED |
Will be triggered after a task got a new comment. |
EVENT_ATTACHMENT_ADDED |
Will be triggered after a task got one or more new attachments. |
Create identity
Create an identity class which implements simialbi\yii2\models\UserInterface
e.g.:
After creating this class define it as identity class in your application configuration:
Configure jQuery UI (optional)
If you don't use jQuery UI somewhere else in your application, you can minify the load by just load the needed scripts:
Notice: If you use the full jquery ui package, the bootstrap tooltip used by this module gets overridden by jui tooltip
Example Usage
Now you can access the kanban module by navigating to /kanban
.
Notice: Some of the actions can only be done as authenticated (logged in) user like creating boards, buckets etc.
License
yii2-kanban is released under MIT license. See bundled LICENSE for details.
All versions of yii2-kanban with dependencies
yiisoft/yii2 Version ^2.0.20
yiisoft/yii2-bootstrap4 Version ^2.0.4
arogachev/yii2-sortable Version ^0.1.6
bower-asset/fullcalendar Version 4.2.*
bower-asset/swiper Version ^6.3.5
fortawesome/font-awesome Version ^5.12.0
kartik-v/yii2-widget-fileinput Version ^1.0.9
npm-asset/highlight.js Version ^9.18.1
simialbi/yii2-fontawesome Version ^3.4.8
simialbi/yii2-simialbi-base Version >=0.10.2 <1.0 | ^1.0.0
simialbi/yii2-summernote Version ^1.1.0
simialbi/yii2-widget-chart Version ^0.7.0
simialbi/yii2-widget-datedropper Version ^1.0.0
simialbi/yii2-widget-hideseek Version ^1.0.0