staabm / phpstan-psr3
                                    Fund package maintenance!
                                                                            
                                                                                                                                        staabm
                                                                                    
                                                                
Installs: 116 191
Dependents: 1
Suggesters: 0
Security: 0
Stars: 23
Watchers: 2
Forks: 1
Open Issues: 1
Type:phpstan-extension
pkg:composer/staabm/phpstan-psr3
Requires
- php: ^7.4 || ^8.0
 - phpstan/phpstan: ^2.0
 - psr/log: ^1.0 || ^2.0 || ^3.0
 
Requires (Dev)
- illuminate/log: ^8 || ^9 || ^10 || ^11 || ^12
 - illuminate/support: ^8 || ^9 || ^10 || ^11 || ^12
 - monolog/monolog: ^2 || ^3.9
 - php-parallel-lint/php-parallel-lint: ^1.4
 - phpstan/extension-installer: ^1.4.3
 - phpstan/phpstan-deprecation-rules: ^2.0.1
 - phpstan/phpstan-phpunit: ^2.0.6
 - phpstan/phpstan-strict-rules: ^2.0.4
 - phpunit/phpunit: ^9 || ^10.5.45
 - redaxo/source: ^5
 - symplify/easy-coding-standard: ^12.5.11
 - tomasvotruba/unused-public: ^2.0.1
 
README
PHPStan rules for PSR3 compatible logger packages to report misuse and possible security risks.
Supports
- psr/log interface
 - any PSR3 compatible logger package, e.g. monolog/monolog
 - illuminate/log facade, Illuminate\Log\LogManager (laravel)
 - REDAXO rex_logger
 
Related articles
Installation
To use this extension, require it in Composer:
composer require --dev staabm/phpstan-psr3
If you also install phpstan/extension-installer then you're all set!
Manual installation
If you don't want to use phpstan/extension-installer, include extension.neon in your project's PHPStan config:
includes:
    - vendor/staabm/phpstan-psr3/config/extension.neon