LaravelPackages.net
Acme Inc.
Toggle sidebar
onweb/shoppingcart

Laravel Shoppingcart

34
0
v6.0.1
About onweb/shoppingcart

onweb/shoppingcart is a Laravel package for laravel shoppingcart. It currently has 0 GitHub stars and 34 downloads on Packagist (latest version v6.0.1). Install it with composer require onweb/shoppingcart. Discover more Laravel packages by onweb or browse all Laravel packages to compare alternatives.

Last updated

LaravelShoppingcart

Fork of

Crinsane/LaravelShoppingcart

Some extra features are added.

Installation

Install the package through Composer.

Run the Composer require command from the Terminal:

composer require onweb/shoppingcart

If you're using Laravel 5.5, this is all there is to do.

Should you still be on version 5.4 of Laravel, the final steps for you are to add the service provider of the package and alias the package. To do this open your config/app.php file.

Add a new line to the providers array:

Onweb\Shoppingcart\ShoppingcartServiceProvider::class

And optionally add a new line to the aliases array:

'Cart' => Onweb\Shoppingcart\Facades\Cart::class,

Publish config:

php artisan vendor:publish --provider="Onweb\Shoppingcart\ShoppingcartServiceProvider" --tag="config"

Now you're ready to start using the shoppingcart in your application.

Star History Chart