syeedalireza / laravel-commerce-engine
Production-ready Laravel e-commerce engine with cart, checkout, multi-gateway payments (Stripe, PayPal), inventory management
Package info
github.com/syeedalireza/laravel-commerce-engine
pkg:composer/syeedalireza/laravel-commerce-engine
dev-main
2026-01-31 08:15 UTC
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-03-04 06:12:59 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