Skip to content

Commit

Permalink
Merge pull request #7 from klaude/laravel-7-support
Browse files Browse the repository at this point in the history
Add laravel 7 support
  • Loading branch information
klaude authored May 13, 2020
2 parents 5ed16bf + e775a03 commit 9f3d159
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 5 deletions.
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ cache:
# * Laravel 5.5+ requires PHP 7.0+.
# * Laravel 5.6+ requires PHP 7.1+.
# * Laravel 6.0+ requires PHP 7.2+.
# * Laravel 7.0+ requires PHP 7.2+.
# * TravisCI tests in Ubuntu 16.04 Xenial Xerus, which doesn't support PHP 5.5.
# Test 5.5 in Trusty Tahr instead.
matrix:
Expand Down Expand Up @@ -84,6 +85,10 @@ matrix:
env: LARAVEL_VERSION="5.7.*"
- php: "7.2"
env: LARAVEL_VERSION="5.8.*"
- php: "7.2"
env: LARAVEL_VERSION="6.0.*"
- php: "7.2"
env: LARAVEL_VERSION="7.0.*"

- php: "7.3"
env: LARAVEL_VERSION="5.0.*"
Expand All @@ -105,6 +110,31 @@ matrix:
env: LARAVEL_VERSION="5.8.*"
- php: "7.3"
env: LARAVEL_VERSION="6.0.*"
- php: "7.3"
env: LARAVEL_VERSION="7.0.*"

- php: "7.4"
env: LARAVEL_VERSION="5.0.*"
- php: "7.4"
env: LARAVEL_VERSION="5.1.*"
- php: "7.4"
env: LARAVEL_VERSION="5.2.*"
- php: "7.4"
env: LARAVEL_VERSION="5.3.*"
- php: "7.4"
env: LARAVEL_VERSION="5.4.*"
- php: "7.4"
env: LARAVEL_VERSION="5.5.*"
- php: "7.4"
env: LARAVEL_VERSION="5.6.*"
- php: "7.4"
env: LARAVEL_VERSION="5.7.*"
- php: "7.4"
env: LARAVEL_VERSION="5.8.*"
- php: "7.4"
env: LARAVEL_VERSION="6.0.*"
- php: "7.4"
env: LARAVEL_VERSION="7.0.*"

# Code coverage testing isn't necessary, so remove xdebug to speed things up.
before_install:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2015-2019 Kevin Laude
Copyright (c) 2015-2020 Kevin Laude

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Latest Unstable Version](https://poser.pugx.org/klaude/eloquent-preferences/v/unstable)](https://packagist.org/packages/klaude/eloquent-preferences)
[![License](https://poser.pugx.org/klaude/eloquent-preferences/license)](https://packagist.org/packages/klaude/eloquent-preferences)

Use this library to bind multiple key/value pair preferences to your application's Eloquent models. Preferences are stored in your application's database so they can be easily stored and queried for. This library supports Eloquent 5.x or 6.x installed either standalone or as a part of the full Laravel framework. Issues and pull requests are welcome! See [CONTRIBUTING.md](https:/klaude/eloquent-preferences/blob/master/CONTRIBUTING.md) for more information.
Use this library to bind multiple key/value pair preferences to your application's Eloquent models. Preferences are stored in your application's database so they can be easily stored and queried for. This library supports Eloquent 5, 6, and 7 installed either standalone or as a part of the full Laravel framework. Issues and pull requests are welcome! See [CONTRIBUTING.md](https:/klaude/eloquent-preferences/blob/master/CONTRIBUTING.md) for more information.

* [Installation](#installation)
* [Configuring In Laravel](#configuring-in-laravel)
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
],
"require": {
"ext-json": "*",
"illuminate/database": "~5|~6.0",
"illuminate/support": "~5|~6.0"
"illuminate/database": "~5|~6.0|~7.0",
"illuminate/support": "~5|~6.0|~7.0"
},
"autoload": {
"psr-4": {
Expand All @@ -23,7 +23,7 @@
},
"require-dev": {
"ext-pdo": "*",
"illuminate/events": "~5|~6.0",
"illuminate/events": "~5|~6.0|~7.0",
"phpunit/phpunit": "~5.0|~4.8"
},
"autoload-dev": {
Expand Down

0 comments on commit 9f3d159

Please sign in to comment.