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

wnx/laravel-stats

View on GitHub
Deep Wiki
Context7
v2.20.0

Added

  • Add Support for Symfony 8 (and Pest v5) (#239)

Fixed

  • Add Dependabot and harden CI Pipeline (#240)
  • Restore and Enable Larastan (#237)
v2.19.0

Added

  • Add Support for Laravel 13 (#236)
v2.18.0

Added

  • Add Support for PHP 8.5 (#234)

Changed

  • Drop Support for Laravel 11 and PHP 8.2 and PHP 8.3 (#235)
v2.17.0

Changed

  • Add Support for PHPUnit 12 (#233)
v2.16.0

Added

  • Add Pest v4 Support (#232)
v2.15.0

Changed

  • Add Support for Laravel 12 (#230)
v2.14.0

Added

  • Add Support for PHP 8.4 (#229)

Changed

  • Add Larastan / PHPStan (#228)
  • Drop Support for Laravel Versions below 11 and below PHP 8.2 (#227)
v2.13.2

Changed

  • Sort Files when statistics is shown in Verbose Mode (#226)
  • Refactor Codebase to use modern PHP features using Rector (#225)
v2.13.1

Changed

  • Remove calls to getLaravelVersion() for versions no longer supported (#224)

Fixed

  • Fix Middleware Classifier for Laravel 11 (#223)
v2.13.0

Added

  • Add Support for Laravel 11 (#222)
v2.12.0

Added

  • Add Support for PHP 8.3 (#221)
v2.11.4

Fixed

  • Fix Laravel 10 bug in stats list command. (#220)
v2.11.3

Fixed

  • Ignore Pest Files when finding and loading Classes (#219)
v2.11.2

Fixed

  • Switch to forked phploc package and add support for Laravel 10 / PHPUnit 10 (#217)
v2.11.1

Changed

  • Add Support for PhpUnit 10 (#215)
v2.11.0

Added

  • Add Support for Laravel 10 (#213)

Changed

  • Drop Support for Laravel 7 & Laravel 8 (#212)
  • Drop Support for PHP 7.3 & PHP 7.4 (#212)
v2.10.0

Added

  • Add Support for PHP 8.2 (#210)
v2.9.2

Fixed

  • Fix Issue with Anonymous Database Migrations (#208)
v2.9.1

Fixed

  • Fix Issue with running stats with Laravel Sail and Swoole extension installed (#207)
v2.9.0

Deprecated

  • Deprecate --share option (#205)
v2.8.1

Fixed

  • Fix EventListenerClassifier and add EventSubscribers Test (#204)
v2.8.0

Added

  • Add Support for Laravel 9 (#202)
v2.7.0

Added

  • Add Livewire Component classifier (#201)
v2.6.0

Added

  • Add Support for PHP 8.1 (#198)

Removed

  • Drop Support for Laravel 6 (#200)
v2.5.2

Fixes

  • Update config to exclude Swoole namespace when running stats command. (Fixes Issue when running stats in a Laravel Octane Application) #196
v2.5.1

Fixes

  • Fix stats command when run in projects which is using Closure based Event Listeners in Models booted method. #193
v2.5.0

Added

  • Support for PHP 8 #187
v2.4.1

Changed

  • Use latest version of stefanzweifel/laravel-stats-phploc (Remove deprecated sebastian/finder-facade dependency) #185, #184
v2.4.0

Added

  • Add Database Factory Classifier #183
  • Add Support for Laravel 8 #180
v2.3.0

I'm thrilled to release v2.3.0 of laravel-stats. 🎉

A quick overview of what has changed in this version.

  • Support for Model Observers has been added. (#177, #128)
  • A new --share option has been added (see below for more information) #178
  • Support for Laravel 6 and PHPUnit 8 has been added back. (Was previously removed in v2.1.0)

New --share option

v2.3.0 comes with a new --share-option for the stats-command.

By executing php artisan stats --share your project statistics are shared anonymously with the Laravel community. Your statistics will be combined with other Laravel projects to provide metrics available on stats.laravelshift.com.

The stats command will never automatically share anything! Only when this option is used and you confirm the prompts will data be shared.

What does this mean in detail?

By executing php artisan stats --share you can opt-in to share the used components and its statistical numbers like "number of classes" and "lines of code per component" with the Laravel community on stats.laravelshift.com.

Jason McCreary, the creator of Shift, and I developed this feature from an idea we had 2 years ago after Jason gave his "Laravel by the Numbers" talk at Laracon US 2018.

Our goal is to collect and aggregate statistical data from Laravel projects and transform the raw data into an easy-to-read dashboard for the Laravel community.

We hope it to make it easier for you as a developer to make decisions when crafting your Laravel projects. For example: "How many projects use Blade Components?" or "How many projects have a Models folder?"

What is being shared?

The request sent to the API contains:

  • the project name you've defined (used internally as a unique identifier)
  • a list of components and their statistical numbers in your projects. (e.g. controllers_lloc_per_method or phpunit_tests)

Class names or code will never be shared. If you would like to see the exact payload which is sent to the API, you may use the --payload option. You may also use the --dry-run option to prevent sending a request to the API.

For example, the following command will simulate sharing your project stats with the API and output the data to that would be sent:

php artisan stats --share --payload --dry-run
v2.2.0

Added

  • Add Blade Components Classifier #169, #173
  • Add Custom Casts Classifier #168, #174
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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky