Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Promocodes Laravel Package

zgabievi/laravel-promocodes

A Laravel package for creating and managing promo codes: generate unique codes, attach them to any Eloquent model, set fixed or percentage discounts, apply expiration dates and usage limits, then validate or redeem codes through a simple, expressive API.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature decisions: Whether to build promo-code functionality in-house or adopt a package; supports rapid experimentation with discount campaigns, referral programs, and limited-time offers.
  • Roadmap: Accelerates delivery of promotions features (e.g., coupon codes, referral codes, credits) without dedicating full engineering sprints.
  • Build vs. buy: Adopt when core needs are standard promo-code generation, validation, and redemption tracking; build custom only for complex rule engines or unique promo mechanics.
  • Use cases: E-commerce discounts, SaaS trial extensions, referral rewards, event ticketing, loyalty programs.
  • New release impact (9.1.0): Adds flexible retrieval methods (by user, status, code) for admin dashboards and customer-facing “my promocodes” views; introduces a validation rule for available promocodes, reducing custom validation code; fixes custom user model association, broadening compatibility with existing auth setups.

When to Consider This Package

  • You are building a Laravel application that needs promo codes, discount codes, or referral codes.
  • Your requirements are standard: generate codes, associate with users, validate availability, and retrieve by various criteria.
  • You want a lightweight, maintained package that integrates with Laravel’s validation and Eloquent.
  • You need support for custom user models (improved in 9.1.0).
  • Look elsewhere if: you need a full-featured promotion engine with complex stacking rules, multi-currency, multi-tenant isolation, or advanced reporting; you are not using Laravel/Eloquent; you require enterprise-level support/SLA; or promo logic is a core differentiator requiring deep customization.

How to Pitch It (Stakeholders)

  • To executives: This package lets us ship promo-code and referral features faster and cheaper than building from scratch, reducing time-to-market for revenue-driving campaigns. The latest release adds flexible retrieval and validation, lowering custom development effort and risk.
  • To engineering: It’s a Laravel-native package with Eloquent models, validation-rule integration, and support for custom user models. Release 9.1.0 adds retrieval methods and an available-promocode validation rule, reducing boilerplate. It is a minor version with no breaking changes and low integration overhead—evaluate against our auth model and promo complexity.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib