Some extra features are added.
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
Add a new line to the
And optionally add a new line to the
'Cart' => Onweb\Shoppingcart\Facades\Cart::class,
php artisan vendor:publish --provider="Onweb\Shoppingcart\ShoppingcartServiceProvider" --tag="config"
Now you're ready to start using the shoppingcart in your application.