{"repo":"stefanzweifel/laravel-stats","free":true,"listed":false,"github":"https://github.com/stefanzweifel/laravel-stats","clone":"git clone https://github.com/stefanzweifel/laravel-stats.git","description":"📈 Get insights about your Laravel or Lumen Project","language":"PHP","stars":1747,"topics":["laravel","php","statistics","composer","laravel-package"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel Stats Get insights about your Laravel Project. Installing The easiest way to install the package is by using composer. The package will automatically register itself. Optionally, you can publish the config file in your Laravel applications with the following command: Usage After installing you can generate the statistics by running the following Artisan Command. (Make sure you run php artisan config:clear before running the above command.) The statistics are also available as JSON. If you want a more detailed report and see which classes have been grouped into which component, you can use the --verbose -option. The verbose option is available for the JSON format also. Note If your project is using Pest PHP for writing tests, these files will automatically be excluded from the statistics. Due to how \"laravel-stats\" works internally, Pest PHP tests can't currently be detected. See #194 for more information. How does this package detect certain Laravel Components? The package scans the files defined in the paths -array in the configuration file. It then applies Classifiers to those classes to determine which Laravel Component the class represents. Component Classification :-- :-- Livewire Components Must extend Livewire\\Component Controller Must be registered with a Route & does not extend Livewire\\Component Model Must extend Illuminate\\Database\\Eloquent\\Model Command Must extend Illuminate\\Console\\Command Rule Must extend Illuminate\\Contracts\\Validation\\Rule Policy The ","default_branch":null,"files":null,"tree":[],"storefront":"/r/stefanzweifel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stefanzweifel/laravel-stats/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}