Looking to hire Laravel developers? Try LaraJobs

laravel-promo-codes maintained by omatech

Author
Last update
2020/09/23 19:48 (dev-master)
License
Downloads
132

Comments
comments powered by Disqus

Very short description of the package

Latest Version on Packagist Build Status Quality Score Total Downloads

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Installation

You can install the package via composer:

composer require omatech/laravel-promo-codes

Usage

// Usage description here

Generate promotional codes with a prefix:


$data = [
    'prefix' => 'EXAMPLE',
    ...
];

$promoCode = PromoCode::generate($data);

echo $promoCode->getCode(); //EXAMPLEXXXXX

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email aroca@omatech.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.