webbuildsnl/laracart
最新稳定版本:12.1
Composer 安装命令:
composer require webbuildsnl/laracart
包简介
A simple cart for Laravel
README 文档
README
Features
- Coupons
- Session Based System
- Cross Device Support
- Multiple cart instances
- Fees such as a delivery fee
- Taxation on a the item level
- Prices display currency and locale
- Endless item chaining for complex systems
- Totals of all items within the item chains
- Item Model Relation at a global and item level
- Quickly insert items with your own item models
Laravel compatibility
| Laravel | laracart |
|---|---|
| 5.1 | 5.2 | 5.3 | 1.1 | 1.2 |
| 5.4+ | 1.* |
Installation
Install the package through Composer. Edit your project's composer.json file by adding:
{
"require": {
........,
"lukepolo/laracart": "1.11.*"
}
}
If using 5.4 you will need to include the service providers / facade in app/config/app.php:
LukePOLO\LaraCart\LaraCartServiceProvider::class,
Include the Facade :
'LaraCart' => LukePOLO\LaraCart\Facades\LaraCart::class,
Copy over the configuration file by running the command:
php artisan vendor:publish --provider='LukePOLO\LaraCart\LaraCartServiceProvider'
Documentation
To Contribute to documentation use this repo :
https://github.com/lukepolo/laracart-docs
License
MIT
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-13