Abhimanyu Sharma 8 anni fa
parent
commit
d046fb247a
1 ha cambiato i file con 9 aggiunte e 5 eliminazioni
  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