This repository provides a simple PHP API following these specifications.
- Installing
git clone https://github.com/lechatquidanse/php-cart-api.git
Vendors that will be installed are phpunit and ArrayCollections.
If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:
curl -s http://getcomposer.org/installer | php
Then, use the composer
command to install required vendors:
php composer.phar install
- Launching Application
Congratulations! You're now ready to use the API:
php web/index.php
- Testing Application
You can launch UnitTests with this command:
bin/phpunit
Enjoy!
- Stéphane EL MANOUNI