kevinmontana/shoppingcart

Laravel Shoppingcart

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 1 757

pkg:composer/kevinmontana/shoppingcart

2.8.0 2024-03-22 20:15 UTC

This package is auto-updated.

Last update: 2025-12-23 00:02:15 UTC


README

CI Status Total Downloads Latest Stable Version Latest Unstable Version License

A simple shoppingcart implementation for Laravel.

Installation

Install the package through Composer.

Run the Composer require command from the Terminal:

composer require kevinmontana/shoppingcart

Difference between Crinsane/LaravelShoppingcart

  • Added functionality
    • Cart::cost()
    • Cart::costFormat()
    • Enum CostType
    • Cart::totalFormat()
    • Cart::taxFormat()
    • Cart::subtotalFormat()
  • More recent Laravel support
  • More typed parameters, returns, properties, ...
  • Less usage of magic properties - really dislike this one
  • Refactoring

Overview and usage

Look at the detailed wiki to learn more about LaravelShoppingcart