This is command line tool helps to export CSV file with month-wise salary and bonus dates
This is standalone php application developed using console component of symfony framework. You need composer to install dependencies of application.
- Clone using
git clone https://github.com/krushnaghodke/console-app - Install project dependencies using composer. Go in project directory and run
Composer install - After installing all dependencies run command
php bin/console export:salary-dates - You will get success message in console "File created successfully!".
- Now check CSV file in
public/filesfolder of code.
For unit testing i used PHPUnit so run following command to execute the test cases.
./vendor/bin/phpunit