PHPackages                             yurichandra/maker - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yurichandra/maker

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yurichandra/maker
=================

A voucher maker works for PHP.

0.1(7y ago)07MITPHP

Since Feb 6Pushed 7y agoCompare

[ Source](https://github.com/yurichandra/maker)[ Packagist](https://packagist.org/packages/yurichandra/maker)[ RSS](/packages/yurichandra-maker/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Maker
=====

[](#maker)

A voucher generator that works for PHP.

Features
========

[](#features)

- Generate with length specified.
- Generate with four base string. ex: kmol
- Generate with eight base string. ex: kqolemdc
- Generate with prefix and/or suffix
- Different type of character base.

### How to install

[](#how-to-install)

`composer require yurichandra/maker`

### How to use

[](#how-to-use)

```
$maker = new Maker(['type' => 'lowercase']);
```

You can define which type of character that you want to use to generate voucher string.

### Types available

[](#types-available)

- lowercase ex: qmndbtkq
- uppercase ex: QMNDBTKQ
- number ex: 98109182
- mixed ex: ik12ERkd

```
//Prefix
$maker = new Maker([
    'type' => 'lowercase'
    'prefix' => 'TKP-'
]);

// Suffix
$maker = new Maker([
    'type' => 'lowercase'
    'prefix' => '-CTP'
]);
```

You also can define the prefix or suffix in Maker constructor.

```
//Generate method
$vouchers = $maker->generate($length_of_character, $amount_of_vouchers)

//Generate six base method
$vouchers = $maker->generateSixBase($amount_of_vouchers)

//Generate method
$vouchers = $maker->generateEightBase($amount_of_vouchers)
```

Thank you.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2657d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ac18e9d43768e4143d32be18c383641785be88e01b11f74382ef89b924764f5?d=identicon)[yurichandra](/maintainers/yurichandra)

---

Top Contributors

[![yurichandra](https://avatars.githubusercontent.com/u/24760990?v=4)](https://github.com/yurichandra "yurichandra (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yurichandra-maker/health.svg)

```
[![Health](https://phpackages.com/badges/yurichandra-maker/health.svg)](https://phpackages.com/packages/yurichandra-maker)
```

###  Alternatives

[terminal42/contao-url-rewrite

URL Rewrite bundle for Contao Open Source CMS

1595.3k3](/packages/terminal42-contao-url-rewrite)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
