Downloads
Stars
Version
This Shopping Cart Package is a versatile and user-friendly shopping cart solution for Laravel applications. It empowers developers to effortlessly integrate a shopping cart system into their e-commerce projects.
You can install the package via composer:
composer require mirchaye/laravel-shopping-cart
You can publish and run the migrations with:
php artisan vendor:publish --tag="laravel-shopping-cart-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="laravel-shopping-cart-config"
This is the contents of the published config file:
return [
'tax_rate' => 15.0,
];
Optionally, you can publish the views using
php artisan vendor:publish --tag="laravel-shopping-cart-views"
$shoppingCart = new Mirchaye\ShoppingCart();
echo $shoppingCart->echoPhrase('Hello, Mirchaye!');
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.