Download the PHP package aiarmada/cart without Composer
On this page you can find all versions of the php package aiarmada/cart. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aiarmada/cart
More information about aiarmada/cart
Files in aiarmada/cart
Package cart
Short Description A comprehensive commerce ecosystem for Laravel with cart, payments, vouchers, shipping, and inventory management.
License MIT
Homepage https://github.com/aiarmada/commerce
Informations about the package cart
AIArmada Cart
A modern, production-grade shopping cart engine for Laravel 13 applications.
Features
- Database Storage – Built-in persistence with optimistic locking and owner scoping
- Multi-Instance Carts – Support multiple cart buckets per user (cart, wishlist, compare)
- Precision Calculations – Money objects via
akaunting/moneyfor accurate financial math - Flexible Conditions – Discounts, taxes, fees, and shipping with targeted application
- Payment Gateway Ready – Implements
CheckoutableInterfacefor any payment provider - Concurrency Safe – Optimistic locking prevents race conditions
- Event-Driven – Hooks for logging, analytics, and business logic
Requirements
- PHP 8.5+
- Laravel 13.x
Installation
Laravel auto-discovers the service provider. To publish configuration:
For database storage, publish and run migrations:
Quick Start
Storage
The package ships with DatabaseStorage only. If you need a different backend,
bind your own StorageInterface implementation in the service container.
Conditions
Apply discounts, taxes, and fees at different calculation phases:
Payment Integration
Cart implements CheckoutableInterface for seamless payment gateway integration:
Guest to User Migration
Automatically migrate guest carts when users log in:
Events
Listen to cart lifecycle events:
CartCreated,CartCleared,CartDestroyed,CartMergedItemAdded,ItemUpdated,ItemRemovedCartConditionAdded,CartConditionRemovedItemConditionAdded,ItemConditionRemovedMetadataAdded,MetadataRemoved,MetadataBatchAdded,MetadataCleared
JSON Column Type
Migrations default to json columns. For PostgreSQL with jsonb:
Documentation
Full documentation is available in the docs/ directory:
- Overview
- Installation
- Configuration
- Usage
- Storage
Development
Testing
License
MIT License. See LICENSE.