This repository was archived by the owner on Jan 2, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +24
-20
lines changed Expand file tree Collapse file tree 5 files changed +24
-20
lines changed Original file line number Diff line number Diff line change 8
8
strategy :
9
9
fail-fast : true
10
10
matrix :
11
- php : [7.4]
11
+ php : [8.0, 7.4]
12
12
laravel : [8.*, 7.*]
13
13
framework : [tailwind, tailwind-2, bootstrap-4]
14
14
dependency-version : [prefer-lowest, prefer-stable]
15
15
include :
16
16
- laravel : 8.*
17
17
testbench : 6.*
18
- livewire : ^2.0
19
18
- laravel : 7.*
20
19
testbench : 5.*
21
- livewire : ^1.3.2
22
20
23
- name : P${{ matrix.php }} - L ${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.framework }}
21
+ name : P${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-version }} - Front-end Framework ${{ matrix.framework }}
24
22
25
23
steps :
26
24
- name : Checkout code
27
25
uses : actions/checkout@v2
28
26
29
- - name : Cache dependencies
30
- uses : actions/cache@v2
31
- with :
32
- path : ~/.composer/cache/files
33
- key : dependencies-laravel-${{ matrix.laravel }}-livewire-${{ matrix.livewire }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
34
-
35
27
- name : Setup PHP
36
28
uses : shivammathur/setup-php@v2
37
29
with :
41
33
42
34
- name : Install dependencies
43
35
run : |
44
- composer require "laravel/framework:${{ matrix.laravel }}" "livewire/livewire:${{ matrix.livewire }}" " orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
36
+ composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
45
37
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
46
38
47
39
- name : Execute tests
Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to ` laravel-form-components ` will be documented in this file
4
4
5
- ## 2.1.2 - 2020-09-29
5
+ ## 2.3.0 - 2020-12-01
6
+
7
+ - Support for PHP 8.0
8
+ - Dropped support for Livewire v1
9
+
10
+ ## 2.2.0 - 2020-11-25
11
+
12
+ - Support for Tailwind CSS 2.0 with the Tailwind Forms plugin
13
+
14
+ ## 2.1.2 - 2020-10-21
6
15
7
16
- Bugfix for multiple checkbox/radio elements with the same name
8
17
9
- ## 2.1.1 - 2020-09-29
18
+ ## 2.1.1 - 2020-09-28
10
19
11
20
- Bugfix for select options with numeric keys
12
21
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ A set of Blade components to rapidly build forms with [Tailwind CSS v1](https://
18
18
* Support for [ Bootstrap 4 Forms] ( https://getbootstrap.com/docs/4.0/components/forms/ ) .
19
19
* Component logic independent from Blade views, the Tailwind and Bootstrap views use the same logic.
20
20
* Bind a target to a form (or a set of elements) to provide default values.
21
- * Support for [ Laravel Livewire] ( https://laravel-livewire.com ) .
21
+ * Support for [ Laravel Livewire] ( https://laravel-livewire.com ) v2 .
22
22
* Support for Spatie's [ laravel-translatable] ( https://github.com/spatie/laravel-translatable ) .
23
23
* Re-populate forms with [ old input] ( https://laravel.com/docs/master/requests#old-input ) .
24
24
* Validation errors.
Original file line number Diff line number Diff line change 26
26
}
27
27
],
28
28
"require" : {
29
- "php" : " ^7.4" ,
30
- "illuminate/support" : " ^7.22.4 || ^8.0"
29
+ "php" : " ^7.4 || ^8.0" ,
30
+ "illuminate/support" : " ^7.22.4 || ^8.0" ,
31
+ "symfony/http-foundation" : " ^5.1.2"
31
32
},
32
33
"require-dev" : {
33
- "livewire/livewire" : " ^1.3.2 || ^2.0" ,
34
+ "livewire/livewire" : " ^2.0" ,
35
+ "mockery/mockery" : " ^1.3.3" ,
34
36
"orchestra/testbench-browser-kit" : " ^5.1 || ^6.0" ,
35
- "phpunit/phpunit" : " ^8.5" ,
36
- "spatie/laravel-translatable" : " ^4.4"
37
+ "phpunit/phpunit" : " ^8.5 || ^9.0" ,
38
+ "spatie/laravel-translatable" : " ^4.4" ,
39
+ "symfony/dom-crawler" : " ^5.1.14"
37
40
},
38
41
"autoload" : {
39
42
"psr-4" : {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ private function getBoundTarget()
33
33
* @param string $name
34
34
* @return mixed
35
35
*/
36
- private function getBoundValue ($ bind = null , string $ name )
36
+ private function getBoundValue ($ bind , string $ name )
37
37
{
38
38
if ($ bind === false ) {
39
39
return null ;
You can’t perform that action at this time.
0 commit comments