2017 © Pedro Peláez
 

library shopping-cart

shopping cart

image

skygdi/shopping-cart

shopping cart

  • Thursday, May 24, 2018
  • by skygdi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Quick Simple base shopping cart model (product id , user_id and qty) for Laravel

1.Install:, (*1)

composer require skygdi/shopping-cart

2.Public migration files:, (*2)

php artisan vendor:publish --provider="skygdi\ShoppingCart\ShoppingCartProvider"

3.Migrate, (*3)

php artisan migrate

4.Usage:, (*4)

use skygdi\ShoppingCart\model\ShoppingCart;

//create
ShoppingCart::create([
  "product_id"      =>  1,
  "user_id"         =>  1,
  "qty"             =>  5,
]);


The Versions

24/05 2018

dev-master

9999999-dev

shopping cart

  Sources   Download

The Requires

 

by Peter