PHPackages                             tipoff/vouchers - 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. tipoff/vouchers

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

tipoff/vouchers
===============

Laravel Package for Vouchers :package\_description Gift Certificates

2.4.0(5y ago)12.2k1[5 issues](https://github.com/tipoff/vouchers/issues)[1 PRs](https://github.com/tipoff/vouchers/pulls)1MITPHPPHP ^7.4|^8.0

Since Feb 9Pushed 5y ago4 watchersCompare

[ Source](https://github.com/tipoff/vouchers)[ Packagist](https://packagist.org/packages/tipoff/vouchers)[ Docs](https://github.com/tipoff/vouchers)[ GitHub Sponsors](https://github.com/tipoff)[ RSS](/packages/tipoff-vouchers/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (5)Versions (13)Used By (1)

Laravel Package for handling Vouchers used in Ecommerce packages
================================================================

[](#laravel-package-for-handling-vouchers-used-in-ecommerce-packages)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4d276b28a744623131f3dc67c0a241c1f73b04471dda25790969cd80f7f549b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7469706f66662f766f7563686572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tipoff/vouchers)[![Tests](https://github.com/tipoff/vouchers/workflows/Tests/badge.svg)](https://github.com/tipoff/vouchers/workflows/Tests/badge.svg)[![Total Downloads](https://camo.githubusercontent.com/c5420bb9a8710f21e0a9da6eb92fdd2ee4190b8f8091f7bd2c51b2219e7b091b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7469706f66662f766f7563686572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tipoff/vouchers)

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

[](#installation)

You can install the package via composer:

```
composer require tipoff/vouchers
```

The migrations will run from the package. You can extend the Models from the package if you need additional classes or functions added to them.

You can publish the config file with:

```
php artisan vendor:publish --provider="Tipoff\Vouchers\VouchersServiceProvider" --tag="vouchers-config"
```

This is the contents of the published config file:

```
return [
    'default_redeemable_hours' => 24,
    'default_expiration_days' => 365,
];
```

#### Registering the Nova resources

[](#registering-the-nova-resources)

If you would like to use the Nova resources included with this package, you need to register it manually in your `NovaServiceProvider` in the `boot` method.

```
Nova::resources([
    \Tipoff\Vouchers\Nova\Voucher::class,
    \Tipoff\Vouchers\Nova\VoucherType::class,
]);
```

Models
------

[](#models)

We include the following models:

**List of Models**

- Voucher
- Voucher Type

For each of these models, this package implements an [authorization policy](https://laravel.com/docs/8.x/authorization) that extends the roles and permissions approach of the [tipoff/authorization](https://github.com/tipoff/authorization) package. The policies for each model in this package are registered through the package and do not need to be registered manually.

The models also have [Laravel Nova resources](https://nova.laravel.com/docs/3.0/resources/) in this package and they are also registered through the package and do not need to be registered manually.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Tipoff](https://github.com/tipoff)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 53.8% 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

Every ~6 days

Total

10

Last Release

1862d ago

Major Versions

1.1.0 → 2.0.02021-02-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ccc9e3647546c97a5a77b995736302afd85bebdcb43d8fde7d11486579c30c0?d=identicon)[drewroberts](/maintainers/drewroberts)

---

Top Contributors

[![drewroberts](https://avatars.githubusercontent.com/u/24581081?v=4)](https://github.com/drewroberts "drewroberts (70 commits)")[![pdbreen](https://avatars.githubusercontent.com/u/1670907?v=4)](https://github.com/pdbreen "pdbreen (23 commits)")[![wolfrednicolas](https://avatars.githubusercontent.com/u/13080491?v=4)](https://github.com/wolfrednicolas "wolfrednicolas (11 commits)")[![huntermontell](https://avatars.githubusercontent.com/u/64396917?v=4)](https://github.com/huntermontell "huntermontell (8 commits)")[![arwaawan](https://avatars.githubusercontent.com/u/16465411?v=4)](https://github.com/arwaawan "arwaawan (6 commits)")[![djamesfar](https://avatars.githubusercontent.com/u/8541396?v=4)](https://github.com/djamesfar "djamesfar (3 commits)")[![arwaawan3](https://avatars.githubusercontent.com/u/64331952?v=4)](https://github.com/arwaawan3 "arwaawan3 (2 commits)")[![jhmontell](https://avatars.githubusercontent.com/u/58615260?v=4)](https://github.com/jhmontell "jhmontell (1 commits)")[![joshtorres](https://avatars.githubusercontent.com/u/5092957?v=4)](https://github.com/joshtorres "joshtorres (1 commits)")[![kylebarney](https://avatars.githubusercontent.com/u/15039520?v=4)](https://github.com/kylebarney "kylebarney (1 commits)")[![chrispecoraro](https://avatars.githubusercontent.com/u/307660?v=4)](https://github.com/chrispecoraro "chrispecoraro (1 commits)")[![prestontoor](https://avatars.githubusercontent.com/u/22110334?v=4)](https://github.com/prestontoor "prestontoor (1 commits)")[![WebTigers](https://avatars.githubusercontent.com/u/774030?v=4)](https://github.com/WebTigers "WebTigers (1 commits)")[![devjk1](https://avatars.githubusercontent.com/u/62731054?v=4)](https://github.com/devjk1 "devjk1 (1 commits)")

---

Tags

tipoffvouchers

### Embed Badge

![Health badge](/badges/tipoff-vouchers/health.svg)

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

###  Alternatives

[tipoff/reviews

Laravel Package for tracking Google reviews

131.0k](/packages/tipoff-reviews)

PHPackages © 2026

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