Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 809532c437 | |||
| 3c10cdd8b0 | |||
| fb0f9c384b |
9 changed files with 30 additions and 6 deletions
21
README.md
21
README.md
|
|
@ -17,14 +17,27 @@ A GitHub-style activity heatmap for your [Kimai](https://www.kimai.org/) dashboa
|
|||
|
||||
## Installation
|
||||
|
||||
Copy the plugin into your Kimai `var/plugins/` directory:
|
||||
|
||||
```bash
|
||||
cd /path/to/kimai
|
||||
git clone https://github.com/toph/kimai-heatmap.git var/plugins/KimaiHeatmapBundle
|
||||
composer config repositories.heatmap vcs https://git.toph.so/toph/kimai-plugin-heatmap
|
||||
composer require kimai-plugin/heatmap-bundle
|
||||
bin/console kimai:reload
|
||||
```
|
||||
|
||||
If you can't run `composer require` directly (e.g. Docker Compose, Nomad, or a custom image), add this to your `composer.json` instead:
|
||||
|
||||
```json
|
||||
{
|
||||
"repositories": [
|
||||
{ "type": "vcs", "url": "https://git.toph.so/toph/kimai-plugin-heatmap" }
|
||||
],
|
||||
"require": {
|
||||
"kimai-plugin/heatmap-bundle": "^1.0"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Then rebuild your image or run `composer install` in the container.
|
||||
|
||||
## Development
|
||||
|
||||
Requires [Nix](https://nixos.org/):
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ services:
|
|||
autoconfigure: true
|
||||
|
||||
KimaiPlugin\KimaiHeatmapBundle\:
|
||||
resource: '../../{Controller,Service,Widget,EventSubscriber}/'
|
||||
resource: '../../src/{Controller,Service,Widget,EventSubscriber}/'
|
||||
|
||||
KimaiPlugin\KimaiHeatmapBundle\KimaiHeatmapBundle:
|
||||
tags: ['App\Plugin\PluginInterface']
|
||||
|
|
|
|||
|
|
@ -3,9 +3,20 @@
|
|||
"type": "kimai-plugin",
|
||||
"description": "GitHub-style activity heatmap dashboard widget for Kimai",
|
||||
"license": "MIT",
|
||||
"keywords": ["kimai", "plugin", "heatmap", "dashboard", "time-tracking"],
|
||||
"homepage": "https://git.toph.so/toph/kimai-plugin-heatmap",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Christopher Mühl",
|
||||
"homepage": "https://toph.so"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=8.2"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"KimaiPlugin\\KimaiHeatmapBundle\\": ""
|
||||
"KimaiPlugin\\KimaiHeatmapBundle\\": "src/"
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue