Skip to content

Commit f59211e

Browse files
authored
Added support for Laravel 10.x (#23)
1 parent cf0cc5a commit f59211e

File tree

4 files changed

+50
-8
lines changed

4 files changed

+50
-8
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: "Run Tests - Laravel 10"
2+
3+
on:
4+
push:
5+
branches: [ v6.x, master ]
6+
7+
pull_request:
8+
branches: [ v6.x, master ]
9+
10+
jobs:
11+
tests:
12+
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
php: [8.1]
18+
laravel: [10.*]
19+
include:
20+
- laravel: 10.*
21+
testbench: 8.*
22+
23+
name: P${{ matrix.php }} - L${{ matrix.laravel }}
24+
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v2
28+
29+
- name: Setup PHP
30+
uses: shivammathur/setup-php@v2
31+
with:
32+
php-version: ${{ matrix.php }}
33+
extensions: pdo, sqlite, pdo_sqlite
34+
35+
- name: Install Dependencies
36+
run: composer install
37+
38+
- name: Execute tests
39+
run: vendor/bin/phpunit

.phprc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
php8.1

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ A MongoDB cache driver for Laravel
44

55
| **Laravel<br/>Version** | **Package<br/>Version** | **Install using<br/>this command** |
66
|-------------------------|-------------------------|----------------------------------------------------|
7-
| 5.7.x | 2.11.x | composer require 1ff/laravel-mongodb-cache:~2.11.0 |
8-
| 5.8.x, 6.x | 2.12.x | composer require 1ff/laravel-mongodb-cache:~2.12.0 |
9-
| 7.x | 3.x.x | composer require 1ff/laravel-mongodb-cache:^3.1 |
10-
| 8.x | 4.x.x | composer require 1ff/laravel-mongodb-cache:^4.1 |
7+
| 10.x | 6.x.x | composer require 1ff/laravel-mongodb-cache:^6.0 |
118
| 9.x | 5.x.x | composer require 1ff/laravel-mongodb-cache:^5.0 |
9+
| 8.x | 4.x.x | composer require 1ff/laravel-mongodb-cache:^4.1 |
10+
| 7.x | 3.x.x | composer require 1ff/laravel-mongodb-cache:^3.1 |
11+
| 5.8.x, 6.x | 2.12.x | composer require 1ff/laravel-mongodb-cache:~2.12.0 |
12+
| 5.7.x | 2.11.x | composer require 1ff/laravel-mongodb-cache:~2.11.0 |
1213

1314
Installation
1415
------------

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
"name": "1ff/laravel-mongodb-cache",
33
"description": "A mongodb cache driver for laravel",
44
"type": "library",
5-
"version": "5.0.0",
5+
"version": "6.0.0",
66
"require": {
7-
"jenssegers/mongodb": "~3.9",
8-
"illuminate/cache": "^9.0"
7+
"php": "^8.1",
8+
"illuminate/cache": "^10.0",
9+
"mongodb/laravel-mongodb": "dev-master"
910
},
1011
"require-dev": {
11-
"orchestra/testbench": "^7.0"
12+
"orchestra/testbench": "^8.0"
1213
},
1314
"license": "MIT",
1415
"authors": [

0 commit comments

Comments
 (0)