aiarmada/commerce
Composer 安装命令:
composer require aiarmada/commerce
包简介
A powerful collection of commerce components for Laravel - build and ship e-commerce features fast.
README 文档
README
A powerful collection of commerce components for Laravel - build and ship e-commerce features fast.
Overview
AIArmada Commerce is a modular e-commerce toolkit for Laravel applications. Install the complete suite or pick individual packages based on your needs.
Requirements
| Requirement | Version |
|---|---|
| PHP | 8.4+ |
| Laravel | 13.0+ |
| Filament | 5.0+ |
Installation
Install the complete commerce suite:
composer require aiarmada/commerce
Or install individual packages as needed (see below).
Included Packages
Core Packages
| Package | Description |
|---|---|
| commerce-support | Core utilities, contracts, and exceptions |
| cart | Shopping cart with conditions and database-backed persistence |
| inventory | Inventory and stock management |
| vouchers | Discount codes and promotional vouchers |
| docs | Invoice and receipt generation with PDF |
Payment & Shipping
| Package | Description |
|---|---|
| chip | CHIP payment gateway integration |
| cashier | Payment orchestration layer |
| cashier-chip | CHIP adapter for Cashier |
| jnt | J&T Express shipping integration |
Filament Admin
| Package | Description |
|---|---|
| filament-cart | Cart management admin panel |
| filament-inventory | Inventory management admin panel |
| filament-vouchers | Voucher management admin panel |
| filament-docs | Document management admin panel |
| filament-chip | CHIP payment admin panel |
| filament-jnt | J&T Express admin panel |
| filament-authz | Role & permission management |
Quick Start
1. Install the Suite
composer require aiarmada/commerce
2. Publish Configurations
php artisan vendor:publish --tag=cart-config
php artisan vendor:publish --tag=vouchers-config
php artisan vendor:publish --tag=chip-config
# ... etc
3. Run Migrations
php artisan migrate
4. Register Filament Plugins
use AIArmada\CommerceSupport\Support\Filament\CommerceNavigationPlugin; use AIArmada\FilamentCart\FilamentCartPlugin; use AIArmada\FilamentVouchers\FilamentVouchersPlugin; use AIArmada\FilamentDocs\FilamentDocsPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ CommerceNavigationPlugin::make(), FilamentCartPlugin::make(), FilamentVouchersPlugin::make(), FilamentDocsPlugin::make(), // ... other plugins ]); }
5. Configure Payment Gateway
php artisan commerce:setup
Documentation
See the docs folder for detailed documentation:
- Installation - Complete setup guide
- Usage - Package overview and selection
- Configuration - Environment and config options
- Troubleshooting - Common bundle-install issues
Individual Package Installation
Install only what you need:
# Cart functionality composer require aiarmada/cart aiarmada/filament-cart # Vouchers/discounts composer require aiarmada/vouchers aiarmada/filament-vouchers # Payment processing composer require aiarmada/chip aiarmada/cashier aiarmada/cashier-chip # Document generation composer require aiarmada/docs aiarmada/filament-docs # Shipping composer require aiarmada/jnt aiarmada/filament-jnt
License
The MIT License (MIT). See LICENSE for details.
aiarmada/commerce 适用场景与选型建议
aiarmada/commerce 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 96 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 11 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 aiarmada/commerce 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 aiarmada/commerce 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 96
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-06