lukepolo / laracart by lukepolo

A simple cart for Laravel
70,035
554
20
Package Data
Maintainer Username: lukepolo
Maintainer Contact: Luke@LukePOLO.com (Luke Policinski)
Package Create Date: 2015-06-18
Package Last Update: 2024-02-27
Home Page: https://laracart.lukepolo.com
Language: PHP
License: MIT
Last Refreshed: 2024-04-25 03:00:45
Package Statistics
Total Downloads: 70,035
Monthly Downloads: 1,244
Daily Downloads: 56
Total Stars: 554
Total Watchers: 20
Total Forks: 83
Total Open Issues: 14

LaraCart - Laravel Shopping Cart Package (http://laracart.lukepolo.com)

Build Status Latest Stable Version Test Coverage Total Downloads License

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

| Laravel | laracart | | :---------------- | :--------- | | 5.1 | 5.2 | 5.3 | 1.1 | 1.2 | | 5.4+ | 1.3+ |

Installation

Install the package through Composer. Edit your project's composer.json file by adding:

{
    "require": {
        ........,
        "lukepolo/laracart": "1.5.*"
    }
}

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

http://laracart.lukepolo.com

To Contribute to documentation use this repo :

https://github.com/lukepolo/laracart-docs

License

MIT