Skip to content

Commit 00b3c87

Browse files
feat: upgrade to Filament v5 (3.x branch)
- Update composer.json for Filament ^5.0, spatie-settings ^5.0 - Add testbench ^11.0 support for future Laravel versions - Clean phpstan-baseline (view-string error resolved in Filament v5) - Update README badges and version table for 3.x - Livewire v4 resolved automatically via Filament v5 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2e3a7b0 commit 00b3c87

3 files changed

Lines changed: 10 additions & 16 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<div class="filament-hidden">
22

3-
![Filament Metrics Fathom](https://raw.githubusercontent.com/jeffersongoncalves/filament-metrics-fathom/2.x/art/jeffersongoncalves-filament-metrics-fathom.png)
3+
![Filament Metrics Fathom](https://raw.githubusercontent.com/jeffersongoncalves/filament-metrics-fathom/3.x/art/jeffersongoncalves-filament-metrics-fathom.png)
44

55
</div>
66

77
# Filament Metrics Fathom
88

99
[![Latest Version on Packagist](https://img.shields.io/packagist/v/jeffersongoncalves/filament-metrics-fathom.svg?style=flat-square)](https://packagist.org/packages/jeffersongoncalves/filament-metrics-fathom)
10-
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/jeffersongoncalves/filament-metrics-fathom/phpstan.yml?branch=2.x&label=phpstan&style=flat-square)](https://github.com/jeffersongoncalves/filament-metrics-fathom/actions?query=workflow%3Aphpstan+branch%3A2.x)
10+
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/jeffersongoncalves/filament-metrics-fathom/phpstan.yml?branch=3.x&label=phpstan&style=flat-square)](https://github.com/jeffersongoncalves/filament-metrics-fathom/actions?query=workflow%3Aphpstan+branch%3A3.x)
1111
[![Total Downloads](https://img.shields.io/packagist/dt/jeffersongoncalves/filament-metrics-fathom.svg?style=flat-square)](https://packagist.org/packages/jeffersongoncalves/filament-metrics-fathom)
1212

1313
Filament plugin for **Fathom Analytics** metrics. Provides a settings page and dashboard widgets to visualize your website analytics directly in Filament.
@@ -17,18 +17,18 @@ Filament plugin for **Fathom Analytics** metrics. Provides a settings page and d
1717
| Plugin | Filament | Laravel | PHP |
1818
|--------|----------|---------|-----|
1919
| 1.x | 3.x | 10.x / 11.x | 8.2+ |
20-
| **2.x** | **4.x** | **11.x+** | **8.2+** |
21-
| 3.x (soon) | 5.x | 11.x+ | 8.2+ |
20+
| 2.x | 4.x | 11.x+ | 8.2+ |
21+
| **3.x** | **5.x** | **11.x+** | **8.2+** |
2222

2323
## Requirements
2424

2525
- [jeffersongoncalves/laravel-metrics-fathom](https://github.com/jeffersongoncalves/laravel-metrics-fathom) `^1.0`
26-
- [filament/spatie-laravel-settings-plugin](https://filamentphp.com/plugins/filament-spatie-settings) `^4.0`
26+
- [filament/spatie-laravel-settings-plugin](https://filamentphp.com/plugins/filament-spatie-settings) `^5.0`
2727

2828
## Installation
2929

3030
```bash
31-
composer require jeffersongoncalves/filament-metrics-fathom:"^2.0"
31+
composer require jeffersongoncalves/filament-metrics-fathom:"^3.0"
3232
```
3333

3434
Publish and run the settings migration from the base package:

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
],
2626
"require": {
2727
"php": "^8.2",
28-
"filament/filament": "^4.0",
29-
"filament/spatie-laravel-settings-plugin": "^4.0",
28+
"filament/filament": "^5.0",
29+
"filament/spatie-laravel-settings-plugin": "^5.0",
3030
"jeffersongoncalves/laravel-metrics-fathom": "^1.0",
3131
"spatie/laravel-package-tools": "^1.14.0"
3232
},
3333
"require-dev": {
3434
"larastan/larastan": "^3.0",
3535
"laravel/pint": "^1.0",
36-
"orchestra/testbench": "^9.0|^10.0",
36+
"orchestra/testbench": "^9.0|^10.0|^11.0",
3737
"pestphp/pest": "^3.0",
3838
"pestphp/pest-plugin-laravel": "^3.0"
3939
},

phpstan-baseline.neon

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
11
parameters:
2-
ignoreErrors:
3-
-
4-
message: '#Property .+::\$view \(view-string\) does not accept default value of type string#'
5-
paths:
6-
- src/Widgets/TopPagesWidget.php
7-
- src/Widgets/TopReferrersWidget.php
8-
- src/Widgets/TopCountriesWidget.php
2+
ignoreErrors: []

0 commit comments

Comments
 (0)