Skip to content

Commit cadbd5a

Browse files
Laravel 11.x Compatibility (#84)
1 parent b36c04d commit cadbd5a

File tree

4 files changed

+15
-17
lines changed

4 files changed

+15
-17
lines changed

.github/workflows/run-tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
name: run-tests
22

3-
on: [push, pull_request]
3+
on:
4+
- push
5+
- pull_request
46

57
jobs:
68
test:
79
runs-on: ubuntu-latest
10+
811
strategy:
912
fail-fast: true
1013
matrix:
11-
php: [8.3, 8.2, 8.1]
12-
laravel: [10.*]
14+
php: [8.3, 8.2]
15+
laravel: ["10.*", "11.*"]
1316
dependency-version: [prefer-lowest, prefer-stable]
1417
include:
1518
- laravel: 10.*
1619
testbench: 8.*
20+
- laravel: 11.*
21+
testbench: 9.*
1722

1823
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
1924

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,10 @@ This Laravel package allows you to search through multiple Eloquent models. It s
1111

1212
❤️ We proudly support the community by developing Laravel packages and giving them away for free. If this package saves you time or if you're relying on it professionally, please consider [sponsoring the maintenance and development](https://github.com/sponsors/pascalbaljet). Keeping track of issues and pull requests takes time, but we're happy to help!
1313

14-
## Laravel Splade
15-
16-
**Did you hear about Laravel Splade? 🤩**
17-
18-
It's the *magic* of Inertia.js with the *simplicity* of Blade. [Splade](https://github.com/protonemedia/laravel-splade) provides a super easy way to build Single Page Applications using Blade templates. Besides that magic SPA-feeling, it comes with more than ten components to sparkle your app and make it interactive, all without ever leaving Blade.
1914

2015
## Requirements
2116

22-
* PHP 8.1 or higher
17+
* PHP 8.2 or higher
2318
* MySQL 8.0+
2419
* Laravel 10.0+
2520

@@ -401,18 +396,14 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
401396

402397
## Other Laravel packages
403398

404-
* [`Form Components Pro`](https://github.com/protonemedia/form-components-pro): A set of Vue 3 components to rapidly build forms with Tailwind CSS 3. It supports validation, model binding, integrates with Autosize/Choices.js/Flatpickr, includes default vendor styling and is fully customizable! Even better in conjunction with Laravel Jetstream + Inertia.js.
405-
* [`Laravel Analytics Event Tracking`](https://github.com/protonemedia/laravel-analytics-event-tracking): Laravel package to easily send events to Google Analytics.
406399
* [`Laravel Blade On Demand`](https://github.com/protonemedia/laravel-blade-on-demand): Laravel package to compile Blade templates in memory.
407400
* [`Laravel Eloquent Scope as Select`](https://github.com/protonemedia/laravel-eloquent-scope-as-select): Stop duplicating your Eloquent query scopes and constraints in PHP. This package lets you re-use your query scopes and constraints by adding them as a subquery.
408-
* [`Laravel Eloquent Where Not`](https://github.com/protonemedia/laravel-eloquent-where-not): This Laravel package allows you to flip/invert an Eloquent scope, or really any query constraint.
409401
* [`Laravel FFMpeg`](https://github.com/protonemedia/laravel-ffmpeg): This package provides an integration with FFmpeg for Laravel. The storage of the files is handled by Laravel's Filesystem.
410-
* [`Laravel Form Components`](https://github.com/protonemedia/laravel-form-components): Blade components to rapidly build forms with Tailwind CSS Custom Forms and Bootstrap 4. Supports validation, model binding, default values, translations, includes default vendor styling and fully customizable!
411402
* [`Laravel MinIO Testing Tools`](https://github.com/protonemedia/laravel-minio-testing-tools): Run your tests against a MinIO S3 server.
412403
* [`Laravel Mixins`](https://github.com/protonemedia/laravel-mixins): A collection of Laravel goodies.
413404
* [`Laravel Paddle`](https://github.com/protonemedia/laravel-paddle): Paddle.com API integration for Laravel with support for webhooks/events.
405+
* [`Laravel Task Runner`](https://github.com/protonemedia/laravel-task-runner): Write Shell scripts like Blade Components and run them locally or on a remote server.
414406
* [`Laravel Verify New Email`](https://github.com/protonemedia/laravel-verify-new-email): This package adds support for verifying new email addresses: when a user updates its email address, it won't replace the old one until the new one is verified.
415-
* [`Laravel WebDAV`](https://github.com/protonemedia/laravel-webdav): WebDAV driver for Laravel's Filesystem.
416407
* [`Laravel XSS Protection`](https://github.com/protonemedia/laravel-xss-protection): Laravel Middleware to protect your app against Cross-site scripting (XSS). It sanitizes request input, and it can sanatize Blade echo statements.
417408

418409
### Security

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.1|^8.2|^8.3",
20-
"illuminate/support": "^10.0"
19+
"php": "^8.2|^8.3",
20+
"illuminate/support": "^10.0|^11.0"
2121
},
2222
"require-dev": {
2323
"mockery/mockery": "^1.4.4",
24-
"orchestra/testbench": "^8.0",
24+
"orchestra/testbench": "^8.0|^9.0",
2525
"phpunit/phpunit": "^10.4"
2626
},
2727
"autoload": {

tests/TestCase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ protected function initDatabase($prefix = '')
5050
]) : [],
5151
]);
5252

53+
DB::setDefaultConnection('mysql');
54+
5355
$this->artisan('migrate:fresh');
5456

5557
include_once __DIR__ . '/create_tables.php';

0 commit comments

Comments
 (0)