Use the following commands to install the application dependencies.
$ composer install
$ yarn install
$ npm installAfter that use
$ symfony serveto start the application locally.
If symfony is not installed, use
$ curl -sS https://get.symfony.com/cli/installer | bash - Simple form that accepts an integer. After submitting it, the api is being called to calculate the packs.
- Api url:
api/{amountOfWidgets}
Running tests using PHPUnit
$ make unit
Currently, there are several unit tests defined.
$ make analysis
Running static analysis using PHPStan