Console-based application to count employee vacation days for a given year.
cp .env.example .env
composer install
php absence-cli migrate
php absence-cli db:seed
To calculate employees vacation days, run the following command:
php absence-cli vacation:calculate
You can also provide optional parameter year
:
php absence-cli vacation:calculate --year=2017
To run unit test, run the following command:
composer test
To check code according PSR:
composer check-style
It is an open-source software licensed under the MIT license.