Skip to content

Latest commit

 

History

History
75 lines (66 loc) · 2.8 KB

README.md

File metadata and controls

75 lines (66 loc) · 2.8 KB

FroZerHinG

Software License dotLock-badge phpVersion-badge psr1-compliant

About me!

FroZerHinG (From Zero to Hiring) is a CLI tool developed in PHP.
It get all transactions for a customer, based on it's ID.
They are converted to € if original currency is different.

Dependencies

FroZerHinG use

Installation

To install FroZerHinG, run the commands below

git clone https://github.com/haxl00/frozerhing.git
composer install

Rename .env.example to .env (root folder)

Running

By default, FroZerHinG list all commands available in the application
NOTE: If APP_ENV != "local", only custom commands are displayed in command list

php frozerhing

Main commands

transactionlist

Basic command

php frozerhing transactionlist {customerId}

Command help

php frozerhing help transactionlist

Test

FroZerHinG use "Pest" as testing framework, because it is build on top of PHPUnit but it is embedded in "Laravel Zero".
To run test, launch (in Windows or *nix environment)

vendor\bin\pest
./vendor/bin/pest

Disclaimer

Due to the purpose of this project, I have decided to use a micro-framework to provide a complete example of using third party software.
Reading and filtering of csv source is all "hand made" (voluntarily) to show how I solve complex problems via code.

Edited / Created files

*This is the list of edited / created files (including framework files)