Skip to content
A Kimai 2 demo bundle
PHP HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
API
Configuration
Controller
DependencyInjection
Entity
EventSubscriber
Form
Repository
Resources
.gitignore
CHANGELOG.md added invoice template Nov 28, 2019
DemoBundle.php
LICENSE
README.md
composer.json

README.md

A Kimai 2 demo bundle

A Kimai 2 plugin, which showcases some developer options within Kimai 2.

What's included?

  • a new System configuration
  • a new menu entry
  • a demo controller with a view and repository
  • a new permission
  • a theme event, adding a css rule for "magic color dots" (customers, projects, activities)
  • an API method
  • a new invoice template (plus a new search path via bundle extension)

Demo configuration

You users could set a default value via local.yaml like this:

demo:
    some_setting: testing

But that should not be required, as they can change the configuration through the "System configuration" screen in Kimai.

Installation

First clone it to your Kimai installation plugins directory:

cd /kimai/var/plugins/
git clone https://github.com/Keleo/DemoBundle.git

And then rebuild the cache:

cd /kimai/
bin/console cache:clear
bin/console cache:warmup

Permissions

This bundle ships a new permission:

  • demo - show all demo options to the user

By default, it is assigned to each user with the role ROLE_SUPER_ADMIN.

Read how to assign these permission to your user roles in the permission documentation.

You can’t perform that action at this time.