syeedalireza/laravel-commerce-engine
Composer 安装命令:
composer require syeedalireza/laravel-commerce-engine
包简介
Production-ready Laravel e-commerce engine with cart, checkout, multi-gateway payments (Stripe, PayPal), inventory management
README 文档
README
Production-ready e-commerce engine for Laravel with cart management, checkout process, and multi-gateway payment integration (Stripe, PayPal).
Features
- ? Shopping Cart - Full cart management
- ? Product Catalog - Product and inventory management
- ? Checkout Process - Complete checkout workflow
- ? Multi-Gateway Payments - Stripe, PayPal support
- ? Laravel 11+ - Latest Laravel support
- ? Type-Safe - Full PHP 8.2+ type hints
Installation
composer require syeedalireza/laravel-commerce-engine
Quick Start
Shopping Cart
use LaravelCommerceEngine\Cart\ShoppingCart; $cart = new ShoppingCart(); $cart->addItem('prod-1', 'Product Name', quantity: 2, price: 29.99); $total = $cart->getTotal(); // 59.98
Checkout
use LaravelCommerceEngine\Checkout\CheckoutService; use LaravelCommerceEngine\Payment\StripePaymentGateway; $gateway = new StripePaymentGateway('your-stripe-key'); $checkout = new CheckoutService($gateway); $result = $checkout->processCheckout($cart, $customerData);
License
MIT
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-03