Skip to content

Commit 6d64043

Browse files
grrnikosMarc Cámara
authored and
Marc Cámara
committed
Add package auto-discovery information in README.md (#517)
1 parent 74efe93 commit 6d64043

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ Easy i18n localization for Laravel, an useful tool to combine with Laravel local
3939

4040
Install the package via composer: `composer require mcamara/laravel-localization`
4141

42-
Register the ServiceProvider in `config/app.php`
42+
In Laravel 5.5, the service provider and facade will automatically get registered. For older versions of the framework, follow the steps below:
43+
44+
Register the service provider in `config/app.php`
4345

4446
```php
4547
'providers' => [
@@ -48,7 +50,7 @@ Register the ServiceProvider in `config/app.php`
4850
],
4951
```
5052

51-
You may also register the `LaravelLocalization` Facade:
53+
You may also register the `LaravelLocalization` facade:
5254

5355
```php
5456
'aliases' => [

0 commit comments

Comments
 (0)