germania-kg / coupons
Interfaces, classes and traits for coupons
1.1.12
2022-03-30 10:00 UTC
Requires
- php: ^5.6|^7.0
Requires (Dev)
- php-coveralls/php-coveralls: ^2.0
- phpunit/phpunit: ^5.7|^6.0|^7.0
- psr/container: ^1.0
Suggests
- pimple/pimple: The Dependecy Injection Container of choice
- psr/container: PSR Container
README
PHP interfaces, traits and classes for working with coupons.
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:
- Kitamura Satoshi's PHP client library for Coveralls API: php-coveralls/php-coveralls
- Sebastian Bergmann's PHPUnit phpunit/phpunit