PHPackages                             suhaboncukcu/assign-task - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. suhaboncukcu/assign-task

ActiveCakephp-plugin[Framework](/categories/framework)

suhaboncukcu/assign-task
========================

AssignTask plugin for CakePHP

v1.0.0(9y ago)18[1 issues](https://github.com/suhaboncukcu/assign-task/issues)PHPPHP &gt;=5.5.9

Since Nov 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/suhaboncukcu/assign-task)[ Packagist](https://packagist.org/packages/suhaboncukcu/assign-task)[ RSS](/packages/suhaboncukcu-assign-task/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

AssignTask plugin for CakePHP
=============================

[](#assigntask-plugin-for-cakephp)

Installation
------------

[](#installation)

Require the plugin;

```
composer require suhaboncukcu/assign-task:dev-master

```

Load the plugin;

```
Plugin::load('AssignTask', ['bootstrap' => true, 'routes' => true]);
```

Create missions.php file in your config folder;

```
//you can find an example in vendor/AssignTask/config/missions.sample.config

//in your bootstrap.php:
Configure::write('Missions.config', ['missions']);
```

**ATTENTION** Check the migration files and see if from\_id and to\_id types work for you. You should check their types if your user table uses something other than integer for ids.

```
bin/cake migrations migrate -p AssignTask
```

Examples
--------

[](#examples)

```
	$this->loadModel('AssignTask.Missions');

    //create new mission
    $mission = $this->Missions->newEntity();
    $data = [
        'to_id' => 1,
        'from_id'=> 2,
        'mission' => 'please send mail to customers',
        'schedule' => '2016-12-12 10:00'
    ];
    $this->Missions->patchEntity($mission, $data);
    $this->Missions->save($mission);

    //assign existing mission to someone else
    $mission = $this->Missions->get(1);
    $mission->to_id = 3;
    //can change from id too. If somebody else this that assignment.
    //for example, in this assignment user with id 3 assigns this mission to
    //himself/herself
    $mission->from_id = 3;
    $this->Missions->assignTo($mission);

    //complete an existing issue
    $mission = $this->Missions->get(5);
    $this->Missions->complete($mission);

    // list all uncompleted tasks including reassigned ones
    $missions = $this->Missions->find('Uncompleted');

    // list all completed tasks including reassigned ones
    $missions = $this->Missions->find('Completed');

    // list all uncompleted tasks including reassigned ones
    // passed the due date
    $missions = $this->Missions->find('UncompletedPassed');

    // list all tasks without reassigned ones
    // so this is what you need to show current uncompleted tasks
    $missions = $this->Missions->find('WOReassigned');

    // list all  tasks
    // while getting their parent tasks. So you can check
    // which task this was.
    $missions = $this->Missions
                        ->find('Parents');

    // list all  tasks
    // while getting their child tasks. So you can check
    // which task reassigned again.
    $missions = $this->Missions
                        ->find('Children');

    // of course, you can use different finders together
    $missions = $this->Missions
                        ->find('Uncompleted')
                        ->find('WOReassigned')
                        ->find('Parents')
                        ->find('Children');
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3525d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b85eb775d57bd4c8dd60146303561ca86726fa718349106fd2de7f1725a87526?d=identicon)[suhaboncukcu](/maintainers/suhaboncukcu)

---

Top Contributors

[![suhaboncukcu](https://avatars.githubusercontent.com/u/2428828?v=4)](https://github.com/suhaboncukcu "suhaboncukcu (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/suhaboncukcu-assign-task/health.svg)

```
[![Health](https://phpackages.com/badges/suhaboncukcu-assign-task/health.svg)](https://phpackages.com/packages/suhaboncukcu-assign-task)
```

###  Alternatives

[cakephp/debug_kit

CakePHP Debug Kit

84114.4M160](/packages/cakephp-debug-kit)[cakephp/bake

Bake plugin for CakePHP

11211.7M190](/packages/cakephp-bake)[friendsofcake/bootstrap-ui

Bootstrap front-end framework support for CakePHP

3502.1M38](/packages/friendsofcake-bootstrap-ui)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M40](/packages/dereuromark-cakephp-ide-helper)[cakephp/twig-view

Twig powered View for CakePHP

155.5M17](/packages/cakephp-twig-view)[cakephp/elastic-search

An Elastic Search datasource and data mapper for CakePHP

85825.9k10](/packages/cakephp-elastic-search)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
