Getting Started

Overview

LaraCart was built to be an easy, fast, and simple solution for cart based systems.

What makes LaraCart unique is what it includes out of the box:

Laravel compatibility

Laravel LaraCart
5.1 - 5.3 1.1.*
5.4+ 1.3.*

Installation

Edit your project's composer.json file by adding:

{
    "require": {
        ...
        "lukepolo/laracart": "1.3.*"
    }
}

If using Laravel 5.4 please include the service providers / facade in app/config/app.php:

LukePOLO\LaraCart\LaraCartServiceProvider::class

Include the Facade:

'LaraCart' => LukePOLO\LaraCart\Facades\LaraCart::class

Publish vendor config and migration:

php artisan vendor:publish --provider=LukePOLO\LaraCart\LaraCartServiceProvider

Look through the configuration options and change as needed.

Configuration

LaraCart has a lot of configuration options, please make sure you run:

php artisan vendor:publish --provider=LukePOLO\LaraCart\LaraCartServiceProvider

After please make sure you go through and customize for your needs