tleckie / injector-detect
PHP injector detect
Fund package maintenance!
teodoroleckie
www.paypal.com/donate?business=ZHYA2MTGA4884¤cy_code=USD
Requires
- php: ^8
Requires (Dev)
- friendsofphp/php-cs-fixer: v3.0.0-beta.2
- httpsoft/http-message: ^1.0
- infection/infection: ^0.21.5
- phpunit/phpunit: ^9.5
- psr/http-factory: ^1.0
README
Installation
You can install the package via composer:
composer require tleckie/injector-detect
Usage
<?php include_once "vendor/autoload.php"; use Psr\Http\Message\ServerRequestInterface; use Tleckie\InjectorDetect\Detector; $detector = new Detector(); /** @var ServerRequestInterface $request*/ $detector->check($request);