- PHP 8.1
- Built-in libcurl support
- phpdotenv
- dump-autoload
- guzzlehttp/guzzle
- nikic/fast-route
- phpunit/phpunit
For running this example, you need to install libraries before:
You can install the library via Composer. If you don't already have Composer installed, first install it by following one of these instructions depends on your OS of choice:
- Composer installation instruction for Windows
- Composer installation instruction for Mac OS X and Linux
After composer is installed, Then run the following command to install libraries:
composer install
I use phpunit for unit testing. There are written in tests
folder.
./vendor/bin/phpunit