Download the PHP package roundly-consulting/coupons-for-laravel without Composer
On this page you can find all versions of the php package roundly-consulting/coupons-for-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download roundly-consulting/coupons-for-laravel
More information about roundly-consulting/coupons-for-laravel
Files in roundly-consulting/coupons-for-laravel
Package coupons-for-laravel
Short Description Create, manage, and apply discount coupons in Laravel.
License MIT
Homepage https://roundly-consulting.com/open-source/docs/coupons-for-laravel
Informations about the package coupons-for-laravel
Coupons for Laravel
Create, validate and redeem discount coupons in Laravel: fixed, percentage (optionally capped)
and free-shipping discounts with currency locks, minimum spends, activation windows and global
or per-customer usage limits. Redemption is atomic, and every amount is an exact
money-for-laravel Money.
Installation
Requires PHP 8.4 (ext-bcmath), Laravel 12 or 13, and MySQL/MariaDB, PostgreSQL or SQLite.
If the models that redeem coupons have UUID/ULID keys, set COUPONS_KEY_TYPE before
migrating.
Usage
Create a coupon through the facade. New coupons start inactive, so activate it:
At checkout, check it, preview the discount and redeem it against the cart total:
Documentation
The full documentation — configuration, every feature and its API, and testing — lives on our website: roundly-consulting.com/open-source/docs/coupons-for-laravel
Release notes are in CHANGELOG.md. To contribute, see the contributing guide.
Support our work
This package is free and open source, built and maintained by Roundly Consulting. If it saves you time, please consider supporting our open-source work — a one-time donation, a monthly pledge on Patreon or a crypto donation helps fund maintenance, new features and new packages.
License
The MIT License (MIT). See LICENSE.md for details.
All versions of coupons-for-laravel with dependencies
ext-bcmath Version *
illuminate/contracts Version ^12.0|^13.0
roundly-consulting/money-for-laravel Version ^1.0
roundly-consulting/package-toolkit-for-laravel Version ^1.0