PHPackages                             livewireshopping/livewire-shopping-cart - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. livewireshopping/livewire-shopping-cart

Abandoned → [github.com/gakale/laravel-livewire-shop](/?search=github.com%2Fgakale%2Flaravel-livewire-shop)Library[Framework](/categories/framework)

livewireshopping/livewire-shopping-cart
=======================================

A Laravel e-commerce package with Livewire

v1.0.0(1y ago)326MITPHPPHP ^7.3|^8.0

Since May 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/gakale/livewireshopingcart)[ Packagist](https://packagist.org/packages/livewireshopping/livewire-shopping-cart)[ RSS](/packages/livewireshopping-livewire-shopping-cart/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Livewire Shopping Cart
======================

[](#livewire-shopping-cart)

A Laravel package for a dynamic e-commerce cart system using Livewire. Add, remove, and display cart totals without reloading the page.

Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require livewireshopping/livewire-shopping-cart
```

Configuration
-------------

[](#configuration)

```
php artisan vendor:publish --provider="LivewireShopping\LivewireShoppingCart\CartServiceProvider" --tag="config"

This will create a cart.php file in the config folder where you can modify the cart settings.
```

Add a Product to the Cart
-------------------------

[](#add-a-product-to-the-cart)

```
Create a Livewire component `AddToCart`:

Modify the AddToCart component:
```

```
