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 counts and sums with ready-made Stat widgets powered by Flowframe/laravel-trend, including last 30 days trends (daily/weekly) for models and fields.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Accelerated dashboard development: Reduces time-to-market for internal tools (e.g., admin panels, analytics dashboards) by providing pre-built, opinionated stat widgets (e.g., revenue, user counts, conversion rates) that integrate seamlessly with Filament. New: Now supports Laravel 13, expanding compatibility for teams adopting the latest LTS version.
  • Consistent UX for internal tools: Enables product/engineering teams to standardize dashboard aesthetics and functionality across projects (e.g., SaaS metrics, support ticket tracking) without reinventing the wheel. Under the hood: Inlined flowframe/laravel-trend to streamline dependencies and ensure smoother time-series data handling.
  • Build vs. buy: Justifies buying (via open-source adoption) over custom development for low-complexity stats displays, freeing dev resources for high-impact features. New: Laravel 13 support reduces friction for teams migrating to newer stacks.
  • Roadmap prioritization: Supports rapid iteration for MVP dashboards (e.g., startup launch, pilot programs) where visual metrics are critical but not core differentiators. Use case expansion: Teams using Laravel 13 can now leverage this package without compatibility concerns.
  • Use cases:
    • Internal analytics for product teams (e.g., feature adoption, churn).
    • Customer-facing portals (e.g., agency clients viewing project metrics).
    • Operational dashboards (e.g., DevOps teams monitoring infrastructure).
    • New: Teams adopting Laravel 13 for new projects or migrations can now integrate this package without workarounds.

When to Consider This Package

Adopt when:

  • Your team uses Filament for admin panels/dashboards and needs quick, reusable stat widgets (e.g., counters, trends, percentages).
  • You prioritize developer velocity over customization (widgets are opinionated but extensible).
  • Your stats rely on Laravel Eloquent models or database aggregates (leverages laravel-trend for time-series data, now inlined for stability).
  • You’re building internal tools or low-risk MVPs where UX consistency matters more than unique designs.
  • New: You’re using Laravel 13 and want to avoid dependency conflicts or compatibility issues.

Look elsewhere if:

  • You need highly customizable or non-standard visualizations (e.g., complex charts, real-time streaming).
  • Your data source isn’t Laravel/Eloquent-compatible (e.g., GraphQL, external APIs).
  • You require white-labeling or brand-specific styling that conflicts with the package’s opinionated defaults.
  • Your team lacks Filament experience (package assumes familiarity with Filament’s widget system).
  • Unchanged: You’re using Laravel <10 (package drops support for older versions; verify your stack).

How to Pitch It (Stakeholders)

For Executives: "This package now fully supports Laravel 13, letting us ship polished, data-driven dashboards 10x faster by reusing pre-built stat widgets (e.g., user growth, revenue trends) that integrate with our Filament admin panels. For example, we could launch a customer analytics portal in days instead of weeks, freeing engineers to focus on core features. The latest update eliminates dependency friction by inlining laravel-trend, ensuring smoother performance and future-proofing our stack. It’s low-risk (MIT-licensed, actively maintained) and aligns with our goal to standardize internal tools—reducing duplication and improving decision-making with consistent, visual metrics."

For Engineering: *"Spatie’s filament-simple-stats (v1.2.0) now officially supports Laravel 13, making it a no-brainer for new projects or migrations. Key improvements:

  • Laravel 13 compatibility: No more workarounds or legacy dependency issues.
  • Inlined laravel-trend: Simpler setup and fewer moving parts under the hood.
  • Same speed gains: Add stats to dashboards in hours (e.g., UsersThisMonth, RevenueGrowth) with zero compatibility tradeoffs. Best for:
  • Quick wins: Plug-and-play widgets for Filament dashboards.
  • Consistency: Avoid reinventing stat displays across projects.
  • Future-proofing: Aligns with Laravel’s latest LTS version. Tradeoff: Still opinionated UI, but the speed and stability improvements for Laravel 13 users make it worth it."*
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport