2018-07-15 21:15:24 +02:00
2018-06-29 16:41:14 +02:00
2018-01-12 20:39:07 +01:00
2018-06-06 21:36:24 +02:00
2018-06-24 01:18:55 +02:00

Kimai v2 - Time Tracking

Kimai v2 - the open source time-tracking application with a mobile-first approach, read more at the official website.

Latest Stable Version License Travis Status Code Quality Code Coverage Scrutinizer Status

Introduction

This is the reloaded version of the open source timetracker Kimai. The new version has not much in common with its predecessor Kimai v1 besides the basic ideas of time-tracking and the current development team.

Right now its in an early development phase, its usable but some advanced features from Kimai v1 are missing by now (like export and ODT invoices). But we already support to import your timesheets from Kimai v1.

It is developed with modern frameworks like Symfony v4, Doctrine, AdminLTE and many more...

Requirements

  • PHP 7.1.3 or higher
  • One PHP extension of PDO-SQLite or PDO-MySQL enabled (it might work with PostgreSQL and Oracle as well, but that wasn't tested and is not officially supported)
  • The PHP extension intl
  • The usual Symfony application requirements
  • If you use MariaDB, make sure its at least v10.7.2 (see FAQ)
  • Kimai needs to be installed in the root directory of a domain or you need to recompile the frontend assets
  • A modern browser, Kimai v2 might be broken on old browsers like IE 9

Documentation & Roadmap

Looking for more information about using Kimai? Check out our more detailed documentation.

You can see our development roadmap for the future in the Milestones sections, current work is organized in the Project planning boards. Our roadmap is open for changes and input from the community, please sent us your ideas and questions.

Installation

There are further infos about installation if you have to use FTP or want to develop with Kimai.

If you want to install Kimai v2 in your production environment, then SSH into your server and change to your webserevr root. You need to install Git and Composer if you haven't already.

First clone this repo:

git clone https://github.com/kevinpapst/kimai2.git
cd kimai2/

Make sure the file permissions are correct:

chown -R www-data var/
chmod -R 777 var/

It's up to you which database server you want to use, Kimai v2 supports MySQL/MariaDB and SQLite. Create your database and configure the connection string in your environment, e.g. with the .env file (more examples in .env.dist):

APP_ENV=prod
APP_SECRET=insert_a_random_secret_string_for_production
DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name

After activating prod environment you can prepare the environment by installing all dependencies:

composer install --no-dev

Create the database schemas and warm up the cache (as webserver user):

bin/console doctrine:schema:create
sudo -u www-data bin/console cache:warmup --env=prod

Create your first user with the following command. You will be asked to enter a password afterwards.

bin/console kimai:create-user username admin@example.com ROLE_SUPER_ADMIN

Tip: You can skip the "create user" step, if you are going to import data from Kimai v1.

For available roles, please refer to the user documentation.

Note

If you want to use a fully-featured web server (like Nginx or Apache) to run Kimai, configure it to point at the public/ directory of the project. For more details, see: http://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html

That's it, you can start time-tracking :-)

Extensions for Kimai 2

As Kimai 2 was built on top of Symfony, it can be extended like every other Symfony application. We call these extensions bundles, but you might also know them as add-ons, extensions or plugins.

All available Kimai 2 bundles can be found at the Kimai recipes repository.

Developer

If you want to develop for Kimai 2 please read the following documentation:

Description
Kimai 2.61.0 — Migrated from Kimai 1.x. PHP 8.3, Symfony 6.4, MariaDB. 908K timesheets, 2,154 users.
Readme AGPL-3.0 53 MiB
Languages
PHP 85.7%
Twig 9.7%
JavaScript 3.3%
SCSS 0.5%
CSS 0.4%
Other 0.4%