soerenmartius / wishlist
Flexible product wishlist management for PHP applications
Requires
- php: ^7.0
- doctrine/common: >=2.5-dev,<2.7-dev
Requires (Dev)
- phpspec/phpspec: ^2.4
This package is not auto-updated.
Last update: 2025-01-18 21:35:58 UTC
README
A PSR-4 based PHP solution for Wishlists.
This is part of a series of examples about how to implement microservices with not only PHP.
Installation
- clone the repository
https://github.com/soerenmartius/Wishlist.git
- Install dependencies through composer
composer install --dev
The dev flag is optional and only useful if you want to run the tests.
Testing
This component doesn implemented specifications only. This was solved using PHPSPEC
Running the tests
./vendor/bin/phpspec run --format=pretty
Using travis-ci for builds
This component is using travis-ci for building and running the tests based on the configuration stored in .travis.yml.
Using scrutinizer-ci for code analysis
This componente is using scrutinizer-ci for code analysis such as code quality and code coverage ( Although code coverage isn't a good indicator for code code ). Scrutinizers configuration is stored in .scrutinizer.yml. For this example we dont use a custom config but we simply rely on scrutinizers default settings.