From 18bf4fa7b96e4e12e7d1425b40380e240d31763a Mon Sep 17 00:00:00 2001 From: ARCANEDEV Date: Mon, 18 Mar 2024 23:08:14 +0000 Subject: [PATCH] Adding Laravel 10 support --- .github/workflows/run-tests.yml | 2 +- README.md | 4 ++-- _docs/1-Installation-and-Setup.md | 31 +++++++++++++++++-------------- composer.json | 8 ++++---- 4 files changed, 24 insertions(+), 21 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c7cbe3f..6bdd2fd 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: true matrix: - php: [8.1] + php: [8.1, 8.2, 8.3] dependency-version: [prefer-lowest, prefer-stable] name: PHP ${{ matrix.php }} - ${{ matrix.dependency-version }} diff --git a/README.md b/README.md index bfc415e..75dd5bf 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Feel free to check out the [releases](https://github.com/ARCANEDEV/LaravelSettin ### Features - * Laravel `5.2` to `9.x` are supported. + * Laravel `5.2` to `10.x` are supported. * Multiple store drivers: `array`, `json`, `database`, `redis`. * Easy setup & configuration. * Well documented & IDE Friendly. @@ -45,7 +45,7 @@ Any ideas are welcome. Feel free to submit any issues or pull requests, please c - [All Contributors][link-contributors] [badge_license]: https://img.shields.io/packagist/l/arcanedev/laravel-settings.svg?style=flat-square -[badge_laravel]: https://img.shields.io/badge/Laravel-5.2%20to%209.x-orange.svg?style=flat-square +[badge_laravel]: https://img.shields.io/badge/Laravel-5.2%20to%2010.x-orange.svg?style=flat-square [badge_build]: https://img.shields.io/github/workflow/status/ARCANEDEV/LaravelSettings/run-tests?style=flat-square [badge_coverage]: https://img.shields.io/scrutinizer/coverage/g/ARCANEDEV/LaravelSettings.svg?style=flat-square [badge_quality]: https://img.shields.io/scrutinizer/g/ARCANEDEV/LaravelSettings.svg?style=flat-square diff --git a/_docs/1-Installation-and-Setup.md b/_docs/1-Installation-and-Setup.md index dfd0965..96b0515 100644 --- a/_docs/1-Installation-and-Setup.md +++ b/_docs/1-Installation-and-Setup.md @@ -8,20 +8,22 @@ ## Version Compatibility -| Laravel | LaravelSettings | -|:-----------------------------|:----------------------------------------------| -| ![Laravel v9.x][laravel_9_x] | ![LaravelSettings v9.x][laravel_settings_9_x] | -| ![Laravel v8.x][laravel_8_x] | ![LaravelSettings v8.x][laravel_settings_8_x] | -| ![Laravel v7.x][laravel_7_x] | ![LaravelSettings v7.x][laravel_settings_7_x] | -| ![Laravel v6.x][laravel_6_x] | ![LaravelSettings v6.x][laravel_settings_6_x] | -| ![Laravel v5.8][laravel_5_8] | ![LaravelSettings v5.x][laravel_settings_5_x] | -| ![Laravel v5.7][laravel_5_7] | ![LaravelSettings v4.x][laravel_settings_4_x] | -| ![Laravel v5.6][laravel_5_6] | ![LaravelSettings v3.x][laravel_settings_3_x] | -| ![Laravel v5.5][laravel_5_5] | ![LaravelSettings v2.x][laravel_settings_2_x] | -| ![Laravel v5.4][laravel_5_4] | ![LaravelSettings v1.x][laravel_settings_1_x] | -| ![Laravel v5.3][laravel_5_3] | ![LaravelSettings v0.x][laravel_settings_0_x] | -| ![Laravel v5.2][laravel_5_2] | ![LaravelSettings v0.x][laravel_settings_0_x] | - +| Laravel | LaravelSettings | +|:-------------------------------|:------------------------------------------------| +| ![Laravel v10.x][laravel_10_x] | ![LaravelSettings v10.x][laravel_settings_10_x] | +| ![Laravel v9.x][laravel_9_x] | ![LaravelSettings v9.x][laravel_settings_9_x] | +| ![Laravel v8.x][laravel_8_x] | ![LaravelSettings v8.x][laravel_settings_8_x] | +| ![Laravel v7.x][laravel_7_x] | ![LaravelSettings v7.x][laravel_settings_7_x] | +| ![Laravel v6.x][laravel_6_x] | ![LaravelSettings v6.x][laravel_settings_6_x] | +| ![Laravel v5.8][laravel_5_8] | ![LaravelSettings v5.x][laravel_settings_5_x] | +| ![Laravel v5.7][laravel_5_7] | ![LaravelSettings v4.x][laravel_settings_4_x] | +| ![Laravel v5.6][laravel_5_6] | ![LaravelSettings v3.x][laravel_settings_3_x] | +| ![Laravel v5.5][laravel_5_5] | ![LaravelSettings v2.x][laravel_settings_2_x] | +| ![Laravel v5.4][laravel_5_4] | ![LaravelSettings v1.x][laravel_settings_1_x] | +| ![Laravel v5.3][laravel_5_3] | ![LaravelSettings v0.x][laravel_settings_0_x] | +| ![Laravel v5.2][laravel_5_2] | ![LaravelSettings v0.x][laravel_settings_0_x] | + +[laravel_10_x]: https://img.shields.io/badge/version-10.x-blue.svg?style=flat-square "Laravel v10.x" [laravel_9_x]: https://img.shields.io/badge/version-9.x-blue.svg?style=flat-square "Laravel v9.x" [laravel_8_x]: https://img.shields.io/badge/version-8.x-blue.svg?style=flat-square "Laravel v8.x" [laravel_7_x]: https://img.shields.io/badge/version-7.x-blue.svg?style=flat-square "Laravel v7.x" @@ -34,6 +36,7 @@ [laravel_5_3]: https://img.shields.io/badge/version-5.3-blue.svg?style=flat-square "Laravel v5.3" [laravel_5_2]: https://img.shields.io/badge/version-5.2-blue.svg?style=flat-square "Laravel v5.2" +[laravel_settings_10_x]: https://img.shields.io/badge/version-10.x-blue.svg?style=flat-square "LaravelSettings v10.x" [laravel_settings_9_x]: https://img.shields.io/badge/version-9.x-blue.svg?style=flat-square "LaravelSettings v9.x" [laravel_settings_8_x]: https://img.shields.io/badge/version-8.x-blue.svg?style=flat-square "LaravelSettings v8.x" [laravel_settings_7_x]: https://img.shields.io/badge/version-7.x-blue.svg?style=flat-square "LaravelSettings v7.x" diff --git a/composer.json b/composer.json index 068a9c6..df7b4c2 100644 --- a/composer.json +++ b/composer.json @@ -22,10 +22,10 @@ }, "require-dev": { "laravel/framework": "^10.0", - "mockery/mockery": "^1.4.2", - "orchestra/testbench-core": "^8.0", - "phpunit/phpunit": "^9.5.10", - "predis/predis": "^1.1.9" + "mockery/mockery": "^1.5.1", + "orchestra/testbench-core": "^8.18", + "phpunit/phpunit": "^10.0.7", + "predis/predis": "^2.0.2" }, "autoload": { "psr-4": {