Skip to content
This repository was archived by the owner on Jan 2, 2024. It is now read-only.

Commit 9323869

Browse files
authored
Support for Laravel 9 (#84)
1 parent 9d38721 commit 9323869

File tree

5 files changed

+17
-9
lines changed

5 files changed

+17
-9
lines changed

.github/workflows/run-tests.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
php: [8.1, 8.0, 7.4]
12-
laravel: [8.*]
12+
laravel: [9.*, 8.*]
1313
framework: [tailwind, tailwind-2, tailwind-forms-simple, bootstrap-4, bootstrap-5]
1414
dependency-version: [prefer-lowest, prefer-stable]
1515
include:
16+
- laravel: 9.*
17+
testbench: 7.*
1618
- laravel: 8.*
1719
testbench: 6.*
1820
exclude:
19-
- laravel: 7.*
20-
php: 8.1
21+
- laravel: 9.*
22+
php: 7.4
2123

2224
name: P${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-version }} - Front-end Framework ${{ matrix.framework }}
2325

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `laravel-form-components` will be documented in this file
44

5+
## 3.6.0 - 2022-02-04
6+
7+
- Support for Laravel 9
8+
59
## 3.5.1 - 2022-01-05
610

711
- Fix for falsy default select values

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Looking for Inertia/Vue.js support? Check out [Form Components Pro](https://gith
3535
## Requirements
3636

3737
* PHP 7.4 or higher
38-
* Laravel 8.0
38+
* Laravel 8.0 or 9.0
3939

4040
## Support
4141

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@
3030
],
3131
"require": {
3232
"php": "^7.4 || ^8.0 || ^8.1",
33-
"illuminate/support": "^8.67",
34-
"symfony/http-foundation": "^5.1.2"
33+
"illuminate/support": "^8.67 || ^9.0",
34+
"symfony/http-foundation": "^5.1.2 || ^6.0"
3535
},
3636
"require-dev": {
3737
"livewire/livewire": "^2.0",
3838
"mockery/mockery": "^1.3.3",
39-
"orchestra/testbench-browser-kit": "^6.23",
39+
"orchestra/testbench-browser-kit": "^6.23 || ^7.0",
4040
"phpunit/phpunit": "^9.5",
41-
"spatie/laravel-translatable": "^4.4",
42-
"symfony/dom-crawler": "^5.1.14"
41+
"spatie/laravel-translatable": "^4.4 || ^5.0",
42+
"symfony/dom-crawler": "^5.1.14 || ^6.0"
4343
},
4444
"autoload": {
4545
"psr-4": {

tests/TestCase.php

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ public function setUp(): void
1818

1919
$this->app['config']->set('app.key', 'base64:yWa/ByhLC/GUvfToOuaPD7zDwB64qkc/QkaQOrT5IpE=');
2020

21+
$this->app['config']->set('session.serialization', 'php');
22+
2123
$this->app['config']->set('form-components.framework', env('FORM_COMPONENTS_FRAMEWORK', 'tailwind'));
2224

2325
View::addLocation(__DIR__ . '/Feature/views');

0 commit comments

Comments
 (0)