michaelbelgium / shoppingcart
Laravel Shoppingcart
Installs: 839
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 4
Forks: 1 733
Open Issues: 0
Requires
- illuminate/events: ^10
- illuminate/session: ^10
- illuminate/support: ^10
Requires (Dev)
- mockery/mockery: ^1.0
- orchestra/testbench: ^8.0
- phpunit/phpunit: ^10.0
README
A simple shoppingcart implementation for Laravel.
Installation
Install the package through Composer.
Run the Composer require command from the Terminal:
composer require michaelbelgium/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