Skip to content

Commit 9e080d4

Browse files
authored
Merge branch '2.x' into dependabot/github_actions/actions/checkout-5
2 parents 503411a + ac8c961 commit 9e080d4

File tree

2 files changed

+23
-5
lines changed

2 files changed

+23
-5
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
|------|----------|--------|
1515
| [1.x](https://github.com/z3d0x/filament-fabricator/tree/1.x) | ^2.0 | ^8.0 |
1616
| [2.x](https://github.com/z3d0x/filament-fabricator/tree/2.x) | ^3.0 | ^8.1 |
17+
| [^2.6](https://github.com/z3d0x/filament-fabricator/tree/2.x) | ^4.0 | ^8.2 |
1718

1819
## Installation
1920

@@ -52,6 +53,22 @@ Then, publish the registered plugin assets:
5253
php artisan filament:assets
5354
```
5455

56+
## Migration
57+
58+
### Filament v3 to Filament v4
59+
60+
Since v2.6.0, this package is compatible with both Filament v3 and Filament v4.
61+
62+
To migrate your project that uses this package from Filament v3 to Filament v4, please follow the [Filament upgrade guide](https://filamentphp.com/docs/4.x/upgrade-guide).
63+
64+
Should you encounter an error related to this package during that process, you can also try the following command:
65+
```bash
66+
composer require filament/filament:"^4.0" -W --no-update
67+
composer require z3d0x/filament-fabricator:"^2.6" -W --no-update
68+
composer update
69+
```
70+
71+
5572
## Documentation
5673

5774
Documentation can be viewed at: https://filamentphp.com/plugins/z3d0x-fabricator

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.1",
20-
"filament/filament": "^3.0",
19+
"php": "^8.1 | ^8.2",
20+
"filament/filament": "^3.0 | ^4.0",
21+
"filament/support": "^3.0 | ^4.0",
2122
"illuminate/contracts": "^9.0 | ^10.0 | ^11.0 | ^12.0",
22-
"pboivin/filament-peek": "^2.0",
23+
"pboivin/filament-peek": "^2.0 | ^3.0 | ^3.0.0-beta1 | ^3.x-dev",
2324
"spatie/laravel-package-tools": "^1.13.5"
2425
},
2526
"require-dev": {
26-
"larastan/larastan": "^2.9",
27+
"larastan/larastan": "^2.9 | ^3.0",
2728
"laravel/pint": "^1.0",
2829
"nunomaduro/collision": "^7.0 | ^8.0",
2930
"orchestra/testbench": "^8.0 | ^9.0 | ^10.0",
@@ -73,4 +74,4 @@
7374
},
7475
"minimum-stability": "dev",
7576
"prefer-stable": true
76-
}
77+
}

0 commit comments

Comments
 (0)