Git Product home page Git Product logo

ctb's Introduction

Console Time Booker (ctb)

This is a PHProjekt CLI Timebooker for guys who work on terminal all day and also want to book on it.

NOTE: This may not work with your PHProjekt version.

Installation

  1. Clone this git repository

  2. Add .env.php file to root directory with the following content.

<?php

return [
	'PHPROJEKT_URL' => 'https://phprojekt.yourcompany.de',
	'PHPROJEKT_USERNAME' => 'mmustermann',
	'PHPROJEKT_PASSWORD' => 'passwort'
];
  1. Start using ctb by using the listed features.

Features available

List today time bookings

php artisan time:list
+-------+---------+---------+
| Start | End     | Sum     |
+-------+---------+---------+
| 0900  | 1300    | 4 h 0 m |
| 1400  | 1800    | 4 h 0 m |
+-------+---------+---------+
|       | Overall | 8 h 0 m |
+-------+---------+---------+

List todays favorite project bookings

php artisan project:list
+---------------------+----------------------------+
| Project             | Bookings                   |
+---------------------+----------------------------+
| BizDev (1)          |                            |
+---------------------+----------------------------+
| Mayflower (2)       |                            |
+---------------------+----------------------------+
| Mobile-Shop-Dev (3) |                            |
+---------------------+----------------------------+
|                     | Noch zu vergeben: 9 h 0 m  |
| Overall             | 0 h 0 m                    |
+---------------------+----------------------------+

Book todays working time

php artisan time:book <start 0800> <end 1600>

Book todays project working time

php artisan project:book <projectID> <time 0100> <description Meeting>

NOTE: The projectID can be seen in project list (php artisan p:list)

Start working timer

php artisan time:start

Stop working timer

php artisan time:stop

Vacation and overtime overview

php artisan time:overview
+--------------------+-----------+
| Overtime           | 08 h 00 m |
| Vacation days left | 20.00     |
+--------------------+-----------+

#Features coming someday

  • List time/project bookings of this month
  • List time/project bookings of another day
  • Add time/project bookings to another day
  • Remove time/project bookings
  • Reminder with notification (Did you ctb'ed already?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.