Provides generic layer for task management
composer require mpom/tasks-bundle
Add to your AppKernel.php:
public function registerBundles()
{
$bundles = array(
// ...
new TasksBundle\TasksBundle,
// ...
)
}
In your config.yml file add new options:
tasks:
layout: AppBundle:Admin:Layout/custom.html.twig # optional, layout file
entity_class: # your entity class
template_list: # custom template for task list
template_edit: # custom template for task edit
Add to app/config/routing.yml:
tasks:
resource: "@TasksBundle/Resources/config/routing.yml"
prefix: /
Import database structure:
console doctrine:schema:update --force
Dump assets:
console assets:install --symlink
Navigate to //tasks page.