Weave Code
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

Discountify Laravel Package

safemood/discountify

Laravel package for dynamic, condition-based discounts. Define custom discount rules, apply percentage discounts, set global discount and tax rate, support dynamic field names, class-based and coupon discounts, optional event tracking, and the ability to skip conditions.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: The package integrates seamlessly into Laravel's ecosystem via service providers, Facades, and config publishing. It leverages Laravel's event system and dependency injection, aligning with standard practices. Condition-based logic is extensible through class-based interfaces and dynamic field mapping, allowing customization for existing data structures.

Integration feasibility: Installation via Composer is straightforward with minimal setup. The API is clean (e.g., setItems(), applyCoupon(), total()), and config publishing enables easy customization of field names and storage paths. Compatibility with Laravel 8+ is assumed based on usage patterns, though PHP version requirements aren't explicitly stated.

Technical risk: Critical risks include 0 dependents (indicating limited real-world testing), JSON-based coupon storage (coupons.json) which is unsuitable for multi-server environments and prone to race conditions/corruption, and breaking changes in

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests