devraeph / laracart
A simple cart for Laravel
Fund package maintenance!
lukepolo
Requires
- php: ~7.3 || ~7.4 || ~8.0
- ext-intl: *
- illuminate/events: ~5.5.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0
- illuminate/session: ~5.5.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0
- illuminate/support: ~5.5.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- mockery/mockery: ^1.0
- orchestra/database: ~3.5.0|~3.7.0|~3.8.0
- orchestra/testbench: ~3.5.0|~3.7.0|~3.8.0
- phpunit/phpunit: ^7.5
- dev-master
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0-RC1
- 1.12.0-RC-1
- 1.11.0
- 1.10.0
- 1.9.1
- 1.9.0
- 1.8.4
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.0
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.13
- 1.5.12
- 1.5.11
- 1.5.10
- 1.5.9
- 1.5.8
- 1.5.7
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.6
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.1-rc
- 1.4.0
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.x-dev
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.x-dev
- 1.1.46
- 1.1.45
- 1.1.44
- 1.1.43
- 1.1.42
- 1.1.41
- 1.1.40
- 1.1.39
- 1.1.38
- 1.1.37
- 1.1.36
- 1.1.35
- 1.1.34
- 1.1.33
- 1.1.32
- 1.1.31
- 1.1.30
- 1.1.29
- 1.1.28
- 1.1.27
- 1.1.26
- 1.1.25
- 1.1.24
- 1.1.23
- 1.1.22
- 1.1.21
- 1.1.20
- 1.1.19
- 1.1.18
- 1.1.17
- 1.1.16
- 1.1.15
- 1.1.14
- 1.1.13
- 1.1.12
- 1.1.11
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.3.0
- 0.2.15
- 0.2.14
- 0.2.13
- 0.2.12
- 0.2.11
- 0.2.10
- 0.2.9
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2
- 0.1.10
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1
- 0.0.1
- 0.0.0
- dev-chore/dep-updates
- dev-bug/275
- dev-develop
- dev-dev
This package is auto-updated.
Last update: 2024-10-15 19:41:07 UTC
README
Forked and edited with some rounding related stuff for personal needs
LaraCart - Laravel Shopping Cart Package (http://laracart.lukepolo.com)
Features
- Coupons
- Session Based System
- Cross Device Support
- Multiple cart instances
- Fees such as a delivery fee
- Taxation on a the item level
- Prices display currency and locale
- Endless item chaining for complex systems
- Totals of all items within the item chains
- Item Model Relation at a global and item level
- Quickly insert items with your own item models
Laravel compatibility
Installation
Install the package through Composer. Edit your project's composer.json
file by adding:
{
"require": {
........,
"lukepolo/laracart": "1.11.*"
}
}
If using 5.4 you will need to include the service providers / facade in app/config/app.php
:
LukePOLO\LaraCart\LaraCartServiceProvider::class,
Include the Facade :
'LaraCart' => LukePOLO\LaraCart\Facades\LaraCart::class,
Copy over the configuration file by running the command:
php artisan vendor:publish --provider='LukePOLO\LaraCart\LaraCartServiceProvider'
Documentation
To Contribute to documentation use this repo :
https://github.com/lukepolo/laracart-docs
License
MIT