Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 839 Bytes

README.md

File metadata and controls

48 lines (31 loc) · 839 Bytes

Absence cli

Software License

Console-based application to count employee vacation days for a given year.

Install

    cp .env.example .env
    composer install
    php absence-cli migrate
    php absence-cli db:seed

Usage

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

Tests

To run unit test, run the following command:

    composer test

To check code according PSR:

    composer check-style

License

It is an open-source software licensed under the MIT license.