daun/statamic-widget-collection-count
A Statamic dashboard widget that shows entry counts for your collections at a glance. Quickly monitor content volume, spot empty or growing collections, and keep editors informed without leaving the control panel. Simple to install and configure.
Architecture fit: This is a Statamic control-panel addon (Laravel package with a service provider, config, and Vue-based CP components) that surfaces content counts, most likely as a dashboard widget. The v2.0.0 release is a deliberate alignment release: it moves the package onto Statamic 6's addon conventions and drops 3/4/5. That is the right call for a small addon — supporting four major Statamic versions in one codebase is a maintenance tax with little payoff — but it converts the package from "broadly compatible utility" into a "version-locked companion" to Statamic 6. The feature work (card-less default display, opt-in cards, permission-based hiding, focus styles) is low-risk presentation and authorization polish rather than architectural change.
Integration feasibility: Installation remains a standard Composer require plus widget registration; no new infrastructure, queue, or storage requirements are implied. The one hard gate is the breaking change: v2.0.0 requires Statamic 6, so the package cannot be adopted on its own merits — it is only installable as part of a Statamic major upgrade. Teams on Statamic 5 must pin to the 1.x line, which now becomes a legacy branch with no forward feature development.
Technical risk: Low in absolute terms, moderate in coupling terms.
view permissions) rather than a bespoke role comparison. If it is bespoke, it will drift from Statamic's permission model.Key questions:
Collection::can('view') / user permissions) or custom logic? Does it cover entry-level and multi-site permission variations?composer.json?Stack fit: Laravel + Statamic 6 control panel, no separate runtime. Standard composer require and widget registration; config publish if the team wants to pin the card default. Nothing here touches the front-end delivery path, so production content rendering is unaffected — blast radius is limited to the CP dashboard.
Migration path: Adopt as part of a Statamic 6 upgrade, not before it. Two viable tracks:
statamic/cms to ^6.0, resolve other addon constraints, then bring this package to ^2.0. Treat the two as a single change set with one rollback point.^1.x. Explicitly accept that the permission-hiding fix and a11y improvements are unavailable, and note the disclosure gap as a known, accepted risk if editors have partial collection access.Compatibility: Before committing, audit the full addon inventory for Statamic 6 declarations — this package is rarely the blocker, but it is never the only dependency. Confirm PHP and Laravel floors, confirm multi-site behaviour (counts per site vs. aggregate), and confirm the CP asset build works under the project's Vite/build setup.
Sequencing:
^2.0.Maintenance: Small, presentation-layer addon with a low change rate; v2.0.0 is essentially one compatibility bump plus UI polish. The maintenance burden is not in the code but in the release cadence: this package will likely ship a major version for every Statamic major, so the team should expect and budget a v3 at Statamic 7. Two active branches (1.x for Statamic 5, 2.x for 6) is sustainable only if the maintainer keeps 1.x patched.
Support: Expect support limited to the current Statamic major. If the package is community-maintained by a single author, response time on Statamic 6 edge cases (multi-site, custom permission setups) is the main unknown. For a dashboard widget, "broken" degrades to a missing panel rather than a site outage, which keeps severity low.
Scaling: The widget is per-user and per-dashboard-load. On large installs — many collections, many sites, large entry volumes — count queries are the scaling concern, not user concurrency. Multi-site multiplies query counts if counts are computed per site. Recommend confirming caching behaviour before rolling out to a large editorial team; if uncached, this is a candidate for a lazy or cached wrapper rather than a reason to reject the package.
Failure modes:
Ramp-up: Minimal for developers — Composer install and widget registration, under an hour. The real ramp-up is editorial: a short note explaining the new compact count view, where the card option lives, and why some collections no longer appear. Budget that communication as part of the Statamic 6 upgrade rather than as a separate change.
How can I help you explore Laravel packages today?