webzera / laracart
This cart package is for laravel ecommerce
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/webzera/laracart
Requires
- php: ^8.0
Requires (Dev)
- phpunit/phpunit: ^9.0
This package is not auto-updated.
Last update: 2025-10-11 23:06:31 UTC
README
- PHP >= 7.3.0
- Laravel >= 7.0.0
Installation
And make sure the product view page completed in home page of the ecommerce site and 'Add Cart' button the button link is {{ route('cart::add', $product) }}
-Here $product is 'single product object'.
products table, factory and seeds file download form databasesource folder in webzera/laracart.
Before use factory file, make sure Product model created
php artisan tinker
factory('App\Product', 50)->create()
First, install laravel 7, and make sure that the database connection settings are correct.
composer require webzera/laracart
or
php composer.phar require webzera/laracart
php artisan vendor:publish --force
Open http://localhost/cart/ in browser,