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

Laravel Stats Laravel Package

danielbaylis/laravel-stats

Laravel package for collecting, storing, and querying application statistics in Laravel. Track events and counters, aggregate metrics over time, and retrieve reports via an easy API to monitor usage and performance in your app.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature Development: Accelerates the implementation of analytics dashboards for developer productivity, codebase health, or engineering metrics (e.g., PR velocity, file churn, test coverage trends).
  • Roadmap Prioritization: Validates demand for developer tooling or engineering insights before building custom solutions, reducing risk for data-driven feature bets.
  • Build vs. Buy: Justifies outsourcing stats collection (e.g., GitHub metrics, PHPStan/Pint usage) instead of reinventing wheel, saving dev time.
  • Use Cases:
    • Internal Tools: Power a "DevOps Dashboard" for engineering leadership.
    • Customer-Facing: Embed lightweight stats in a SaaS product (e.g., "Your Laravel app has 12K LOC").
    • Open-Source Projects: Add contributor analytics to attract maintainers.
    • Onboarding: Highlight codebase growth to new hires (e.g., "This repo grew 30% YoY").

When to Consider This Package

Adopt if:

  • Your Laravel app needs quick, lightweight stats (e.g., file counts, commit history) without heavy dependencies.
  • You’re not tracking real-time metrics (e.g., user activity) or need custom business KPIs (use Laravel Scout/Analytics instead).
  • Your team lacks bandwidth to build a custom stats collector from scratch.
  • You want Git-aware metrics (e.g., author stats, file changes) but don’t need CI/CD integration (use GitHub API or custom scripts).

Look elsewhere if:

  • You need database query analytics (use Laravel Debugbar or Query Profiler).
  • Stats require cross-repo aggregation (e.g., monorepo analysis; use custom scripts or GitLab API).
  • You’re locked into non-PHP ecosystems (e.g., Node.js, Go).
  • Compliance requires audit logs (use Laravel’s built-in logging or a dedicated package like spatie/laravel-activitylog).

How to Pitch It (Stakeholders)

For Executives: "This package lets us automate codebase insights—like tracking how fast our team ships features or identifying technical debt hotspots—without hiring a data engineer. For example, we could surface metrics like ‘PRs merged per sprint’ or ‘test coverage trends’ in our internal dashboard, helping us make faster, data-backed decisions. It’s a low-cost, high-value way to improve engineering productivity, and it integrates seamlessly with our existing Laravel stack."

For Engineering: *"This is a drop-in solution for common stats needs:

  • No setup hell: Just install, and it spits out JSON/CSV with file counts, commit authors, or even PHPStan/Pint usage.
  • Extensible: Hook into Laravel’s service provider to customize metrics (e.g., add your own file patterns).
  • Lightweight: Zero database bloat—just reads your repo’s .git directory. Use case: If we’re pitching a ‘Dev Productivity’ feature to leadership, this gives us real data to back it up in weeks, not months."*
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.
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
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