Skip to content

Commit

Permalink
The package is divided into framework versions (5.8+).
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Helldar committed Apr 17, 2019
1 parent 7005dc9 commit 81ce7ad
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 52 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,23 @@ Publisher lang files for the Laravel Framework from caouecs/Laravel-lang.

## Installation

To get the latest version of Laravel Lang Publisher, simply require the project using [Composer](https://getcomposer.org/):
To get the latest version of Laravel Lang Publisher, simply require the project using [Composer](https://getcomposer.org):

```bash
$ composer require andrey-helldar/laravel-lang-publisher --dev
```

Or manually update `require-dev` block of `composer.json` and run `composer update`.

To install the package on version 5.3-5.5 with php 5.6-7.0, you need to specify version ^1.0:
```json
{
"require-dev": {
"andrey-helldar/laravel-lang-publisher": "^2.0"
}
}
```

For the 5.3-5.7 version of Laravel Framework, use version `^1.0`:
```json
{
"require-dev": {
Expand All @@ -45,7 +52,6 @@ To install the package on version 5.3-5.5 with php 5.6-7.0, you need to specify
}
```

To install on the Laravel version 5.5-5.7 version must be greater than `^1.0` (for example, `^1.0`, `^1.2` ... `^1.5`).

If you don't use auto-discovery, add the ServiceProvider to the providers array in `app/Providers/AppServiceProvider.php`:

Expand All @@ -68,6 +74,7 @@ public function register()
|5.5|^7.0.0|7.1.28|^1.0|
|5.6|^7.1.3|7.2.13|^1.0|
|5.7|^7.1.3|7.2.13|^1.0|
|5.8|^7.1.3|7.3.3|^2.0|


## How to use
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"require": {
"php": "^7.1.3",
"andrey-helldar/support": "^1.2",
"caouecs/laravel-lang": "^3.0",
"illuminate/console": ">=5.5.0 <5.8.0",
"illuminate/support": ">=5.5.0 <5.8.0"
"caouecs/laravel-lang": "^4.0",
"illuminate/console": "^5.8",
"illuminate/support": "^5.8"
},
"autoload": {
"psr-4": {
Expand Down
146 changes: 100 additions & 46 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 81ce7ad

Please sign in to comment.