kevinmontana / shoppingcart
Laravel Shoppingcart
2.8.0
2024-03-22 20:15 UTC
Requires
- illuminate/events: ^11
- illuminate/session: ^11
- illuminate/support: ^11
Requires (Dev)
- mockery/mockery: ^1.0
- orchestra/testbench: ^8.0
- phpunit/phpunit: ^10.0
This package is auto-updated.
Last update: 2024-05-22 20:43:28 UTC
README
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