parallax/filament-comments
Parallax Filament Comments adds threaded discussions to any Filament resource. Drop in the comments component and let users post, reply, react, and mention teammates, with moderation and notification support built in. A clean, configurable way to bring conversations to your admin panel.
This release (3.0.0) is primarily an ecosystem-alignment release: it adds Filament 5 support and ships a fix for the Counter component. Treat it as the version you install on a Filament 5 panel; if you are still on Filament 4, stay on the 2.x line.
Minimal steps:
composer require <vendor>/<package>:"^3.0"
php artisan vendor:publish --tag="<package>-config" # if the package ships config/views
php artisan migrate # only if the package has migrations
composer.json of the package — confirm the filament/filament constraint is ^5.0. That single line decides whether the upgrade is even possible in your app.->plugins([...])) if the package exposes a Plugin/PluginInterface class; Filament 5 kept the plugin registration contract, so this is usually a no-op change.Before touching your app, run the upgrade in a branch and execute composer update --with-all-dependencies — a Filament major bump almost never resolves cleanly with composer update <package> alone.
Pin the pair, not the package. Filament 5 support means the package version and the framework version are now coupled. In composer.json, constrain both so a future composer update cannot silently pull a Filament 5 package into a Filament 4 app:
"filament/filament": "^5.0",
"<vendor>/<package>": "^3.0"
Stage the Filament upgrade behind the package bump. The practical workflow:
^3.0 and re-run the panel.Counter as a reusable display primitive. The typical day-to-day usage is a stat or KPI block: point it at a model query or closure, give it a label, and place it in a widget or resource page. Wrap it in your own Blade partial or a small Stat wrapper class rather than scattering raw component calls across views — that gives you one place to adjust when the component's API shifts in a future major.
Test the counter as behaviour, not markup. Livewire component tests are the highest-value pattern here, especially since this release contains a counting fix:
Livewire::test(MyDashboard::class)
->assertSee('42'); // the computed total
// then create/delete a record and re-assert
A regression test that asserts the value changes after a model event is what would have caught the bug fixed in 3.0.0.
Integration tip: if the Counter aggregates over an Eloquent query, keep the query in a dedicated method or scope so the same logic can be reused by the widget, by an API endpoint, and by the test. Counters that embed query building inline are the ones that drift from the source of truth.
3.0.0 signals a Filament major. Assume breaking changes inherited from Filament 5 (view/schema APIs, asset and CSS pipeline changes, deprecated methods) rather than from this package's own surface. Read the Filament 5 upgrade guide, not just these two lines.vendor:publish, diff the published config and any compiled CSS/JS against what you had. Stale published views are the most common cause of "the upgrade did nothing".php artisan filament:clear-cached-components, view:clear, config:clear, and rebuild assets. Filament caches component discovery, and a stale cache can mask whether the new version is even loaded. Verify with composer show <vendor>/<package>.^2.0 explicitly and add a note to your upgrade backlog; an unpinned constraint will eventually resolve to 3.x and break the panel at the worst possible moment.How can I help you explore Laravel packages today?