Laravel Shopping Cart Made Easy With Binafy/laravel-cart
The binafy/laravel-cart package adds shopping cart functionality to Laravel apps. It securely stores card info & supports multiple payment gateways, recurring payments & subscriptions. Highly customizable & flexible architecture.
The binafy/laravel-cart package adds the ability to add shopping cart functionality to Laravel applications. It simplifies storing and managing cart items, supports storing multiple item types, and more: #Features: Secure card information storage and management Support for multiple payment gateways Recurring payment and subscription management Robust validation and error handling Highly customizable and flexible architecture From the package's documentation, here's an example of retrieving a cart for a given user and adding an item to the cart: $cart = Cart::query()->firstOrCreate(['user_id' =...