Download the PHP package aiarmada/filament-cart without Composer
On this page you can find all versions of the php package aiarmada/filament-cart. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aiarmada/filament-cart
More information about aiarmada/filament-cart
Files in aiarmada/filament-cart
Package filament-cart
Short Description A comprehensive Filament admin interface for managing shopping carts created by the AIArmada Cart package
License MIT
Homepage https://github.com/aiarmada/commerce
Informations about the package filament-cart
Filament Cart
Filament admin panel integration for aiarmada/cart. Provides normalized cart data resources, condition management, and real-time synchronization for high-volume commerce operations.
Requirements
- PHP 8.4+
- Laravel 13+
- Filament 5+
- aiarmada/cart
Installation
Register the plugin in your Filament panel provider:
Publish the configuration (optional):
Resources
The plugin registers four Filament resources under the E-Commerce navigation group:
| Resource | Model | Purpose |
|---|---|---|
| Carts | AIArmada\\Cart\\Snapshots\\CartSnapshot |
View normalized cart snapshots |
| Cart Items | AIArmada\\Cart\\Snapshots\\CartSnapshotItem |
Browse individual line items |
| Cart Conditions | AIArmada\\Cart\\Snapshots\\CartSnapshotCondition |
View conditions applied to carts |
| Conditions | AIArmada\\Cart\\Models\\Condition |
Manage reusable condition templates |
Cart Resource
Read-only resource displaying cart snapshots with:
- Instance filtering (default, wishlist, quote, layaway)
- Item and condition counts
- Subtotal and total calculations
- Metadata search
Cart Item Resource
Read-only resource for line item analysis:
- Price and quantity filters
- Attribute inspection
- Parent cart navigation
- JSON-searchable metadata
Cart Condition Resource
Read-only resource showing applied conditions:
- Type badges (discount, fee, tax, shipping)
- Target visualization (subtotal, total, item)
- Value display (percentage or fixed)
- Calculation order
Condition Resource
Full CRUD for reusable condition templates:
- Create discount, tax, fee, and shipping conditions
- Configure dynamic rules with factory keys
- Set global auto-apply behavior
- Manage condition ordering
Widget
The CartStatsWidget displays key metrics on your dashboard:
- Active cart count
- Total cart items
- Total cart value
Configuration
The adapter block belongs in config/filament-cart.php; the condition and
snapshot settings belong in the core config/cart.php file.
Event Synchronization
The core aiarmada/cart package owns snapshot projection and registers its
event listeners. Filament Cart consumes the resulting read model and provides
the UI adapter:
AIArmada\\Cart\\Snapshots\\SyncCartOnEvent— Creates/updates normalized recordsAIArmada\\Cart\\Listeners\\ApplyGlobalConditions— Applies global conditionsAIArmada\\Cart\\Snapshots\\CleanupSnapshotOnCartMerged— Handles merge cleanup
Dynamic Conditions
Create conditions with rule-based application:
Actions
Filament actions for cart operations:
ApplyConditionAction— Apply a condition template to a cartRemoveConditionAction— Remove a condition from a cart
Testing
License
MIT License. See LICENSE for details.
All versions of filament-cart with dependencies
aiarmada/cart Version self.version
filament/filament Version ^5.6.5
php Version ^8.4