承接 cumanzorx07/coupon_code_generator 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cumanzorx07/coupon_code_generator

最新稳定版本:v1.0.1

Composer 安装命令:

composer require cumanzorx07/coupon_code_generator

包简介

PHP library to generate and validate coupon code strings.

README 文档

README

Basically, it's a PHP solution that generates unique easy-to-read coupon codes. I took inspiration from https://github.com/mariuswilms/coupon_code, some sections are clearly based on that project.

Features

  • PHP 7.4 and 8.0 support

Common use cases

  • You need to generate a random code to use on promotions.

License

This software is distributed under the GPL 3.0 license.

How to install it

composer require cumanzorx07/coupon_code_generator

A super simple example

<?php

use CouponGenerator\CouponGenerator;

$code = CouponGenerator::getInstance(5,5,'STORE')->generateCode();
echo $code;

You will obtain something like this:

STORE-77P3J-9UK5M-4NRE9-XJ6XB-U6KT1

You can take a look at the testcases to get an idea of what you can achieve.

统计信息

  • 总下载量: 5.89k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2021-11-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固