mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-24 07:55:35 +00:00
Updated README
This commit is contained in:
13
README.md
13
README.md
@@ -8,9 +8,20 @@ A simple shoppingcart implementation for Laravel 4.
|
|||||||
|
|
||||||
Install the package through [Composer](http://getcomposer.org/). Edit your project's `composer.json` file by adding:
|
Install the package through [Composer](http://getcomposer.org/). Edit your project's `composer.json` file by adding:
|
||||||
|
|
||||||
|
### Laravel 4.2 and below
|
||||||
|
|
||||||
```php
|
```php
|
||||||
"require": {
|
"require": {
|
||||||
"laravel/framework": "4.1.*",
|
"laravel/framework": "4.2.*",
|
||||||
|
"gloudemans/shoppingcart": "~1.2"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Laravel 5
|
||||||
|
|
||||||
|
```php
|
||||||
|
"require": {
|
||||||
|
"laravel/framework": "5.0.*",
|
||||||
"gloudemans/shoppingcart": "dev-master"
|
"gloudemans/shoppingcart": "dev-master"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user