Skip to content

Commit

Permalink
Merge pull request #42 from ARCANEDEV/develop
Browse files Browse the repository at this point in the history
Adding Laravel 11 Support
  • Loading branch information
arcanedev-maroc authored Mar 18, 2024
2 parents 9da4d89 + 22f89b0 commit 7778e47
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 17 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.1, 8.2, 8.3]
php: [8.2, 8.3]
dependency-version: [prefer-lowest, prefer-stable]

name: PHP ${{ matrix.php }} - ${{ matrix.dependency-version }}
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
env:
REDIS_PORT: ${{ job.services.redis.ports['6379'] }}

- name: Scrutinizer CI
run: |
composer require scrutinizer/ocular --dev
vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
# - name: Scrutinizer CI
# run: |
# composer require scrutinizer/ocular --dev
# vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Feel free to check out the [releases](https://github.com/ARCANEDEV/LaravelSettin

### Features

* Laravel `5.2` to `10.x` are supported.
* Laravel `5.2` to `11.x` are supported.
* Multiple store drivers: `array`, `json`, `database`, `redis`.
* Easy setup & configuration.
* Well documented & IDE Friendly.
Expand All @@ -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%2010.x-orange.svg?style=flat-square
[badge_laravel]: https://img.shields.io/badge/Laravel-5.2%20to%2011.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
Expand Down
2 changes: 2 additions & 0 deletions _docs/1-Installation-and-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

| Laravel | LaravelSettings |
|:-------------------------------|:------------------------------------------------|
| ![Laravel v11.x][laravel_11_x] | ![LaravelSettings v11.x][laravel_settings_11_x] |
| ![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] |
Expand All @@ -23,6 +24,7 @@
| ![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_11_x]: https://img.shields.io/badge/version-11.x-blue.svg?style=flat-square "Laravel v11.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"
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
"type": "library",
"license": "MIT",
"require": {
"php": "^8.1",
"php": "^8.2",
"ext-json": "*",
"arcanedev/support": "^10.0"
"arcanedev/support": "^11.0"
},
"require-dev": {
"laravel/framework": "^10.0",
"mockery/mockery": "^1.5.1",
"orchestra/testbench-core": "^8.18",
"phpunit/phpunit": "^10.0.7",
"laravel/framework": "^11.0",
"mockery/mockery": "^1.6",
"orchestra/testbench-core": "^9.0",
"phpunit/phpunit": "^10.5|^11.0",
"predis/predis": "^2.0.2"
},
"autoload": {
Expand All @@ -40,7 +40,7 @@
},
"extra": {
"branch-alias": {
"dev-develop": "10.x-dev"
"dev-develop": "11.x-dev"
},
"laravel": {
"providers": [
Expand Down
8 changes: 5 additions & 3 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@
colors="true"
cacheDirectory=".phpunit.cache"
>
<source>
<include>
<directory>src</directory>
</include>
</source>
<testsuites>
<testsuite name="Package Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
<report>
<clover outputFile="build/coverage/clover.xml"/>
<html outputDirectory="build/coverage/html"/>
Expand Down

0 comments on commit 7778e47

Please sign in to comment.