The preferred way to install this extension is through composer.
Either run
php composer.phar require "imanilchaudhari/yii2-shopping-cart" "dev-master"
or add
"imanilchaudhari/yii2-shopping-cart": "dev-master"
to the require section of your application's composer.json
file.
[
'components' => [
'shoppingCart' => [
'class' => 'imanilchaudhari\ShoppingCart\Cart'
]
]
]