Logstan is a PHPStan extension designed for Laravel applications to enforce consistent logging practices. It helps developers maintain standardized logs across their projects.
Installation | Usage | Logging standards
composer require --dev aagjalpankaj/logstan
./vendor/bin/logstan analyse
This command will scan your application and report any inconsistencies or potential problems.
./vendor/bin/logstan insights
This command provides insights about logs added in the application.
For more information about available commands and options:
./vendor/bin/logstan --help