agriya/addtocart

There is no license information available for the latest version (dev-master) of this package.

dev-master 2014-05-21 07:42 UTC

This package is not auto-updated.

Last update: 2024-12-07 16:40:28 UTC


README

A Laravel 4 package for addtocart

Installation

Add the following to you composer.json file

"agriya/addtocart": "dev-master"

Run composer update

Add the following to app/config/app.php

'Agriya\Addtocart\AddtocartServiceProvider',

Publish the config

php artisan config:publish agriya/addtocart

Run the migration

php artisan migrate --package="agriya/addtocart"

Add the following to app/routes.php

Route::controller('cart', 'CartController');