PHPackages                             tourze/coupon-contracts - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. tourze/coupon-contracts

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

tourze/coupon-contracts
=======================

Coupon Contracts

0.1.0(6mo ago)06661MITPHPCI passing

Since May 10Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/tourze/coupon-contracts)[ Packagist](https://packagist.org/packages/tourze/coupon-contracts)[ RSS](/packages/tourze-coupon-contracts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (1)

Coupon Contracts
================

[](#coupon-contracts)

[English](README.md) | [中文](README.zh-CN.md)

[![Latest Version](https://camo.githubusercontent.com/63a96834f35db8e3916361d014f95035bd62eb388f802057c981ee879edcad6e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f636f75706f6e2d636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/coupon-contracts)[![PHP Version Require](https://camo.githubusercontent.com/d12c775abb4c33ffb6155c7afe1050f8d0f53d86396fd3d90ea232897b02bdcf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f75727a652f636f75706f6e2d636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/coupon-contracts)[![License](https://camo.githubusercontent.com/fc841dfaca36d3da744fba1584196ecc6fcc43fe38a3461a0a90d3501dca7eb1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f75727a652f636f75706f6e2d636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/coupon-contracts)[![Build Status](https://camo.githubusercontent.com/184d56942e24637fd15adcba12334d6b8b9ca6dc0d0f84abc930313150a78be3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f75727a652f636f75706f6e2d636f6e7472616374732f63692e796d6c3f7374796c653d666c61742d737175617265)](https://github.com/tourze/coupon-contracts/actions)[![Coverage Status](https://camo.githubusercontent.com/0a346f9d01803e6e2c0f1f3e52904ad418b963b1fc07a6b1a9973ed2c2f6d911/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f746f75727a652f636f75706f6e2d636f6e7472616374733f7374796c653d666c61742d737175617265)](https://coveralls.io/github/tourze/coupon-contracts)[![Total Downloads](https://camo.githubusercontent.com/d12c715a1ee54f06f2c0e4f3e4f39ec7d4d11e340a286fcb594ef52e0d1c8ae3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f636f75706f6e2d636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/coupon-contracts)

A collection of PHP contracts/interfaces for coupon and coupon code management systems.

Installation
------------

[](#installation)

```
composer require tourze/coupon-contracts
```

Quick Start
-----------

[](#quick-start)

This package provides two main interfaces for building coupon systems:

### CouponInterface

[](#couponinterface)

The main interface for coupon objects:

```
