lotestudio/shoppingcart

Laravel Shoppingcart

1.0 2025-01-07 13:26 UTC

This package is auto-updated.

Last update: 2025-01-07 13:37:22 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 lotestudio/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