Skip to content

Commit

Permalink
Merge pull request #4 from aheenam/upgrade/laravel-56
Browse files Browse the repository at this point in the history
Upgrade/laravel 56
  • Loading branch information
rathesDot authored Feb 8, 2018
2 parents f5824df + 876c26f commit 1113ef2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ Changelog
This changelog contains all notable change of the laravel-translatable
package

1.3.0
---

- drops support for Laravel 5.4
- adds support for Laravel 5.6

v1.2.0
---
- adds support for laravel auto-discovery
Expand Down
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,6 @@ You can install the package via composer:
composer require aheenam/laravel-translatable
```

If you are using Laravel in a version < 5.5, the service provider must be registered as a next step:

```php
// config/app.php
'providers' => [
...
Aheenam\Translatable\TranslatableServiceProvider::class,
];
```

Now you can use this Trait on any Eloquent Model of your project.

Usage
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"minimum-stability": "stable",
"require": {
"php" : "^7.0",
"illuminate/support": "~5.4.0|~5.5.0",
"illuminate/database": "~5.4.0|~5.5.0"
"illuminate/support": "~5.5.0|~5.6.0",
"illuminate/database": "~5.5.0|~5.6.0"
},
"require-dev": {
"phpunit/phpunit": "5.*|^6.3",
"orchestra/testbench": "~3.4.0|~3.5.0"
"phpunit/phpunit": "^6.3|^7.0",
"orchestra/testbench": "~3.5.0|~3.6.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 1113ef2

Please sign in to comment.