Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/run-tests-l10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "Run Tests - Laravel 10"

on:
push:
branches: [ v6.x, master ]

pull_request:
branches: [ v6.x, master ]

jobs:
tests:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.1]
laravel: [10.*]
include:
- laravel: 10.*
testbench: 8.*

name: P${{ matrix.php }} - L${{ matrix.laravel }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: pdo, sqlite, pdo_sqlite

- name: Install Dependencies
run: composer install

- name: Execute tests
run: vendor/bin/phpunit
1 change: 1 addition & 0 deletions .phprc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
php8.1
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ A MongoDB cache driver for Laravel

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

Installation
------------
Expand Down
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
"name": "1ff/laravel-mongodb-cache",
"description": "A mongodb cache driver for laravel",
"type": "library",
"version": "5.0.0",
"version": "6.0.0",
"require": {
"jenssegers/mongodb": "~3.9",
"illuminate/cache": "^9.0"
"php": "^8.1",
"illuminate/cache": "^10.0",
"mongodb/laravel-mongodb": "dev-master"
},
"require-dev": {
"orchestra/testbench": "^7.0"
"orchestra/testbench": "^8.0"
},
"license": "MIT",
"authors": [
Expand Down