# stefanzweifel/laravel-stats

📈 Get insights about your Laravel or Lumen Project

Repository: https://github.com/stefanzweifel/laravel-stats
Canonical: https://ross.abutalabs.com/products/laravel-stats
Language: PHP
License: MIT
License Family: permissive
Topics: laravel, php, statistics, composer, laravel-package
Last push: 2026-07-29T06:53:38+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 71, longevity 100
- inputs: {"age_days": 3268, "days_push": 35, "days_rel": 35, "gap_med": 100.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1747, forks 84 (observed 2026-08-28T04:05:30.837251+00:00)

## What it is
A Laravel/Lumen package that analyzes your project's codebase and reports statistics about its components, such as controllers, models, commands, and middleware. It classifies classes via built-in classifiers and outputs results as a table or JSON via an Artisan command.

## Use cases
- get insights about my laravel project
- count controllers and models in a laravel codebase
- generate codebase statistics as
- analyze project structure of a lumen app
- see which classes belong to which laravel component
- track codebase composition over time

## When to choose
- you maintain a Laravel or Lumen app and want a quick overview of its structure
- you want component-level stats (controllers, models, events, etc.) from the CLI
- you need machine-readable stats output for CI or reporting

## When to avoid
- your project is not built on Laravel or Lumen
- you need full static analysis or complexity metrics rather than component classification
- your tests are written with Pest, which cannot currently be detected

## Facets
- artifact type: library
- maturity: active
- function: developer-tools, analytics, cli
- domain: developer-tools, web-development
- platform: php, cli
- tags: laravel, lumen, code-statistics, artisan-command, codebase-analysis, command-line

## Member repositories
- stefanzweifel/laravel-stats (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:30.837251+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:29:10.778543+00:00, confidence not recorded.
  - readme: https://github.com/stefanzweifel/laravel-stats (fetched 2026-08-28T04:05:30.837251+00:00, sha 64c8c4214b73)
- Data as of 2026-08-30T08:39:29.467469+00:00.
