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.
-
Clone this git repository
-
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'
];
- Start using ctb by using the listed features.
php artisan time:list
+-------+---------+---------+
| Start | End | Sum |
+-------+---------+---------+
| 0900 | 1300 | 4 h 0 m |
| 1400 | 1800 | 4 h 0 m |
+-------+---------+---------+
| | Overall | 8 h 0 m |
+-------+---------+---------+
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 |
+---------------------+----------------------------+
php artisan time:book <start 0800> <end 1600>
php artisan project:book <projectID> <time 0100> <description Meeting>
NOTE: The projectID can be seen in project list (php artisan p:list)
php artisan time:start
php artisan time:stop
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?)