soerenmartius/wishlist

Flexible product wishlist management for PHP applications

dev-master / 1.0.2.x-dev 2016-04-04 16:08 UTC

This package is not auto-updated.

Last update: 2024-05-11 17:45:15 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

  1. clone the repository https://github.com/soerenmartius/Wishlist.git
  2. 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.