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

Support for Laravel 9 #84

Merged
merged 3 commits into from
Feb 4, 2022
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
8 changes: 5 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ jobs:
fail-fast: true
matrix:
php: [8.1, 8.0, 7.4]
laravel: [8.*]
laravel: [9.*, 8.*]
framework: [tailwind, tailwind-2, tailwind-forms-simple, bootstrap-4, bootstrap-5]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
exclude:
- laravel: 7.*
php: 8.1
- laravel: 9.*
php: 7.4

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

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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

## 3.6.0 - 2022-02-04

- Support for Laravel 9

## 3.5.1 - 2022-01-05

- Fix for falsy default select values
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Looking for Inertia/Vue.js support? Check out [Form Components Pro](https://gith
## Requirements

* PHP 7.4 or higher
* Laravel 8.0
* Laravel 8.0 or 9.0

## Support

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@
],
"require": {
"php": "^7.4 || ^8.0 || ^8.1",
"illuminate/support": "^8.67",
"symfony/http-foundation": "^5.1.2"
"illuminate/support": "^8.67 || ^9.0",
"symfony/http-foundation": "^5.1.2 || ^6.0"
},
"require-dev": {
"livewire/livewire": "^2.0",
"mockery/mockery": "^1.3.3",
"orchestra/testbench-browser-kit": "^6.23",
"orchestra/testbench-browser-kit": "^6.23 || ^7.0",
"phpunit/phpunit": "^9.5",
"spatie/laravel-translatable": "^4.4",
"symfony/dom-crawler": "^5.1.14"
"spatie/laravel-translatable": "^4.4 || ^5.0",
"symfony/dom-crawler": "^5.1.14 || ^6.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 2 additions & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public function setUp(): void

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

$this->app['config']->set('session.serialization', 'php');

$this->app['config']->set('form-components.framework', env('FORM_COMPONENTS_FRAMEWORK', 'tailwind'));

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