Browse Source

Read me update

Abhimanyu Sharma 8 years ago
parent
commit
d046fb247a
1 changed files with 9 additions and 5 deletions
  1. 9 5
      README.md

+ 9 - 5
README.md

@@ -32,12 +32,16 @@ Library help to convert units.
 
 * Run `composer update` or `composer install `
 
-* Open `app/config/app.php` and add the service provider to your `providers` array.
+* Open `config/app.php` and add the service provider to your `providers` array.
 		
 ```php
-// ...
-'Abhimanyusharma003\Conversion\ConversionServiceProvider',
- // ...
+    Abhimanyu003\Conversion\ConversionServiceProvider::class
+```
+
+* Add Aliases
+
+```php
+    'Conversion'  => Abhimanyu003\Conversion\Facades\Conversion::class
 ```
 
 ## How to use
@@ -51,7 +55,7 @@ Formatting results use
 
 ```php
 Conversion::convert($value,'type')->to('type')
-->format(int decimal,'decimal modifier','thousand modifer');
+->format(int decimal,'decimal place modifier','thousand place modifer');
 ```
 
 ## Example