PHP code example of mirchaye / laravel-shopping-cart
1. Go to this page and download the library: Download mirchaye/laravel-shopping-cart library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mirchaye / laravel-shopping-cart example snippets
return [
'tax_rate' => 15.0,
];
$shoppingCart = new Mirchaye\ShoppingCart();
echo $shoppingCart->echoPhrase('Hello, Mirchaye!');
bash
php artisan vendor:publish --tag="laravel-shopping-cart-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="laravel-shopping-cart-config"
bash
php artisan vendor:publish --tag="laravel-shopping-cart-views"