logstan

Logstan

ci Downloads

About

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


Installation

composer require --dev aagjalpankaj/logstan

Usage

Analyzing Logs

./vendor/bin/logstan analyse

This command will scan your application and report any inconsistencies or potential problems.

Getting Insights

./vendor/bin/logstan insights

This command provides insights about logs added in the application.

Help

For more information about available commands and options:

./vendor/bin/logstan --help

Logging standards covered

Log Message

Log Context