syeedalireza / laravel-commerce-engine
Production-ready Laravel e-commerce engine with cart, checkout, multi-gateway payments (Stripe, PayPal), inventory management
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/syeedalireza/laravel-commerce-engine
Requires
- php: ^8.2
- illuminate/database: ^11.0
- illuminate/support: ^11.0
Requires (Dev)
- orchestra/testbench: ^9.0
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^11.0
This package is not auto-updated.
Last update: 2026-02-04 05:45:13 UTC
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