-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36a9d5c
commit e908e34
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,39 @@ | ||
# Laravel Multi-language | ||
|
||
[![Laravel 5.4](https://img.shields.io/badge/Laravel-5.4-brightgreen.svg?style=flat-square)](http://laravel.com) | ||
[![License](https://poser.pugx.org/renatomarinho/laravel-multi-language/license)](https://packagist.org/packages/renatomarinho/laravel-multi-language) | ||
[![StyleCI](https://styleci.io/repos/88404078/shield?branch=master)](https://styleci.io/repos/88404078) | ||
[![Latest Stable Version](https://poser.pugx.org/renatomarinho/laravel-multi-language/v/stable)](https://packagist.org/packages/renatomarinho/laravel-multi-language) | ||
[![Total Downloads](https://poser.pugx.org/renatomarinho/laravel-multi-language/downloads)](https://packagist.org/packages/renatomarinho/laravel-multi-language) | ||
|
||
|
||
Laravel Multi-Language detect all language strings on application and update the language file to translations. | ||
|
||
### Instalation | ||
|
||
Laravel Multi-Language requires PHP 7. | ||
|
||
Require this package with composer using the following command: | ||
|
||
```bash | ||
$ composer require renatomarinho/laravel-multi-language | ||
``` | ||
|
||
Go to your `config/app.php` and add the service provider: | ||
|
||
```php | ||
// 'providers' => [ | ||
RenatoMarinho\LaravelMultiLanguage\MultiLanguageServiceProvider::class | ||
// ], | ||
``` | ||
|
||
### Usage | ||
|
||
Just call the artisan command: | ||
|
||
`php artisan multi-language:update` | ||
|
||
|
||
### License | ||
|
||
Laravel Multi-Language is licensed under the [MIT license](https://opensource.org/licenses/MIT). |