Skip to content

Commit c054579

Browse files
feat/upgrade to v5 (#23)
* chore: change composer * feat: add additonal packages to filament * fix: composer dependency issues' * fix: pint errors' * docs: update readme' * fix: tests not running
1 parent 52e90f2 commit c054579

File tree

3 files changed

+28
-15
lines changed

3 files changed

+28
-15
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,18 @@ This FilamentPHP plugin is aimed at allowing you to seamlessly integrate page bu
5050

5151
## Pre-requisites
5252

53-
- PHP 8.1 or higher
54-
- Laravel 10.x or higher
55-
- Filament 3.x
53+
- PHP 8.2 or higher
54+
- Laravel 11.28 or higher
55+
- Filament 5.x
56+
57+
## Other versions
58+
59+
if you have filament version 3 or 4 check out older versions of this package:
60+
61+
- (for filament v3) [v1.0](https://github.com/RedberryProducts/filament-page-builder-plugin/tree/1.x)
62+
- (for filament v4) [v2.0](https://github.com/RedberryProducts/filament-page-builder-plugin/tree/2.x)
63+
64+
## Installation
5665

5766
You can install the package via composer:
5867

composer.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,27 @@
2424
],
2525
"require": {
2626
"php": "^8.1|^8.2|^8.3|^8.4",
27-
"filament/actions": "^4.7",
28-
"filament/filament": "^4.0",
29-
"filament/forms": "^4.7",
30-
"filament/infolists": "^4.7",
31-
"filament/support": "^4.7",
32-
"filament/tables": "^4.7",
33-
"filament/widgets": "^4.7",
34-
"spatie/laravel-package-tools": "^1.15.0"
27+
"spatie/laravel-package-tools": "^1.15.0",
28+
"filament/tables": "^5.0",
29+
"filament/schemas": "^5.0",
30+
"filament/forms": "^5.0",
31+
"filament/infolists": "^5.0",
32+
"filament/actions": "^5.0",
33+
"filament/notifications": "^5.0",
34+
"filament/support": "^5.0",
35+
"filament/widgets": "^5.0",
36+
"filament/filament": "^5.0"
3537
},
3638
"require-dev": {
3739
"filament/upgrade": "^4.0",
3840
"laravel/pint": "^1.0",
3941
"nunomaduro/collision": "^7.9||^8.0",
4042
"nunomaduro/larastan": "^2.0.1||^3.0",
4143
"orchestra/testbench": "^10.0.0||^9.16||^8.35",
42-
"pestphp/pest": "^3.1||^2.0",
43-
"pestphp/pest-plugin-arch": "^3.0||^2.0",
44-
"pestphp/pest-plugin-laravel": "^3.0||^2.0",
45-
"pestphp/pest-plugin-livewire": "^2.1||^3.0",
44+
"pestphp/pest": "^3.1||^2.0||^4.0",
45+
"pestphp/pest-plugin-arch": "^3.0||^2.0||^4.0",
46+
"pestphp/pest-plugin-laravel": "^3.0||^2.0||^4.0",
47+
"pestphp/pest-plugin-livewire": "^2.1||^3.0||^4.0",
4648
"phpstan/extension-installer": "^1.1||^2.0",
4749
"phpstan/phpstan-deprecation-rules": "^2.0||^1.0",
4850
"phpstan/phpstan-phpunit": "^2.0||^1.0",

phpunit.xml.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@
2020
<directory>tests</directory>
2121
</testsuite>
2222
</testsuites>
23+
<!--
2324
<coverage>
2425
<report>
2526
<html outputDirectory="build/coverage"/>
2627
<text outputFile="build/coverage.txt"/>
2728
<clover outputFile="build/logs/clover.xml"/>
2829
</report>
2930
</coverage>
31+
-->
3032
<logging>
3133
<junit outputFile="build/report.junit.xml"/>
3234
</logging>

0 commit comments

Comments
 (0)