This package can associate vouchers with your Eloquent models. This is a very useful package if you want to build an online store. For example, you could have an application that sells online video courses and a voucher would give the user access to one specific video course.

laravel package vouchers

Installation

You can install the package via composer:

composer require beyondcode/laravel-vouchers

Source Code and Documentation

https://github.com/beyondcode/laravel-vouchers