# Configuration

# Publish the config

php artisan vendor:publish --tag=vouchers-config

The configuration file will be placed in config/vouchers.php

# Models

Confugure your relationship models. Theusers and products models are used as the default redeemer and item types. You may extend the Voucher class to include other models.

// vouchers.php
...
'models' => [
    'vouchers' => \App\Models\Ecommerce\Voucher::class,
    'users' => \App\Models\User::class,
    'products' => \App\Models\Ecommerce\Product::class,
    ...
],
...