Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Simple Stats Laravel Package

spatie/filament-simple-stats

Opinionated, prebuilt stat widgets for Filament dashboards. Quickly add daily counts and sums using Flowframe/laravel-trend, with helpers like last 30 days to generate clean, consistent stats cards with minimal setup.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Accelerated Dashboard Development: Enables PMs to rapidly deploy data-driven Filament dashboards without custom UI/UX development, aligning with sprint goals and reducing technical debt.
  • Data-Driven Decision Making: Supports roadmap priorities like analytics, KPI tracking, or operational metrics by providing pre-built, visually consistent widgets (e.g., user growth, revenue trends).
  • Low-Code Customization: Balances flexibility (via where(), withoutTrend()) with opinionated defaults, allowing PMs to tailor stats to specific use cases (e.g., SaaS metrics, e-commerce dashboards) without deep frontend work.
  • Cross-Team Alignment: Standardizes dashboard components across teams (e.g., product, support, finance), ensuring consistency in how metrics are presented and interpreted.
  • Cost Efficiency: Reduces reliance on external BI tools (e.g., Mixpanel, Power BI) for simple internal dashboards, lowering licensing costs and data export friction.

When to Consider This Package

  • Adopt When:

    • Your team uses Filament for admin panels and needs quick, reusable stat widgets (e.g., daily active users, revenue, error rates).
    • You prioritize speed over customization—ideal for MVP dashboards or internal tools where 80% of use cases fit the defaults.
    • Your metrics are database-backed (Eloquent models) and require time-series trends (e.g., YoY, MoM comparisons).
    • You’re on Laravel 10–13 and already use Filament widgets.
  • Look Elsewhere If:

    • You need complex visualizations (charts, maps) beyond simple stats—consider Filament Charts or Laravel Nova.
    • Your data sources are non-SQL (e.g., APIs, GraphQL)—this package is Eloquent-focused.
    • You require real-time updates or high-frequency polling—this is optimized for periodic refreshes.
    • Your team prefers full control over widget styling/behavior—custom development may be needed.

How to Pitch It (Stakeholders)

For Executives: "This package lets us deploy data-driven dashboards in hours, not weeks. For example, we can track user growth, revenue trends, or support tickets—all with pre-built, consistent widgets that reduce dev overhead by 70%. It’s like having a ‘drag-and-drop’ analytics layer for Filament, cutting costs on external BI tools while keeping data actionable for teams."

For Engineers: "Spatie’s package gives us a battle-tested, opinionated way to add stats to Filament dashboards. It handles trends, queries, and UI consistency out of the box, so we can focus on business logic. The where() and invertTrendColors() methods let us customize without reinventing the wheel—perfect for rapid prototyping or internal tools."

For Product Teams: *"This solves the ‘dashboard debt’ problem. Need to show a new KPI? Just add a line of code. No more waiting for custom UI work. It’s especially useful for:

  • SaaS metrics (MRR, churn),
  • Operational dashboards (error rates, queue lengths),
  • A/B testing (conversion lifts). The trends feature automatically highlights improvements or declines, making it easy to spot opportunities."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai