File tree Expand file tree Collapse file tree 1 file changed +6
-21
lines changed Expand file tree Collapse file tree 1 file changed +6
-21
lines changed Original file line number Diff line number Diff line change @@ -7,36 +7,21 @@ A Shopping Cart Implementation for Laravel Framework
77
88##INSTALLATION
99
10- Install the package through [ Composer] ( http://getcomposer.org/ ) . Edit your project's ` composer.json ` file by adding:
10+ Install the package through [ Composer] ( http://getcomposer.org/ ) .
1111
12- ### Laravel 5
13-
14- ``` php
15- "require": {
16- "laravel/framework": "5.0.*",
17- "darryldecode/cart": "dev-master"
18- }
19- ```
20-
21- Next, run the Composer update command from the Terminal:
22-
23- composer update
24-
25- or
26-
27- composer update "darryldecode/cart"
12+ composer require "darryldecode/cart"
2813
2914##CONFIGURATION
3015
31- 1 . Open config/app.php and addd this line to your Service Providers Array
16+ 1 . Open config/app.php and add this line to your Service Providers Array
3217 ``` php
33- ' Darryldecode\Cart\CartServiceProvider'
18+ Darryldecode\Cart\CartServiceProvider::class
3419 ```
3520
36- 2 . Open config/app.php and addd this line to your Aliases
21+ 2 . Open config/app.php and add this line to your Aliases
3722
3823``` php
39- 'Cart' => ' Darryldecode\Cart\Facades\CartFacade'
24+ 'Cart' => Darryldecode\Cart\Facades\CartFacade::class
4025 ```
4126
4227## HOW TO USE
You can’t perform that action at this time.
0 commit comments