germania-kg/coupons

Interfaces, classes and traits for coupons

1.1.12 2022-03-30 10:00 UTC

This package is auto-updated.

Last update: 2024-03-29 03:32:30 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: