germania-kg/coupons

Interfaces, classes and traits for coupons

1.1.11 2019-02-19 08:33 UTC

This package is auto-updated.

Last update: 2020-09-19 12:40:33 UTC


README

PHP interfaces, traits and classes for working with coupons.

Packagist PHP version Build Status Scrutinizer Code Quality Code Coverage Build Status

Installation with Composer

$ composer require germania-kg/coupons

Development

$ git clone https://github.com/GermaniaKG/Coupons.git
$ cd Coupons
$ composer install

Unit tests

Copy phpunit.xml.dist to phpunit.xml. The current settings will work fine in most cases; feel free to edit your XML file according to your needs. For using the database tests, edit the development database credentials in the php section. For testing, go to package root directory and issue phpunit. These packages for testing come via Composer: