Sylar it's the Intrusion Detection System(IDS) which you can trust!
What's the deal with video cameras? If the intruder is quick enough you might as well never find him.
Then why do people bother to install them? The truth hides behind finding common breaches and identifying areas that are a common target for intruders.
Sylar is like a video camera for your website, but better - it only records the requests that look like might harm your website. It doesn't block them nor remove the harmful characters - its only job is to show you areas of the website that are commonly tried to be breached by hackers .
Under the hood, it digests PSR-7 Requests and logs everything into PSR-3 Loggers, it follows BDD and the code is formatted based on the PSR-2 standard.
And it also has a nice dashboard that provides you in real-time with useful statistics about the latest attempted intrusions on your website.
composer require ionut/sylar
<?php use Ionut\Sylar\Integrations\Standalone; $sylar = new Standalone('path/to/your.log'); $sylar->run();
Adapters for ease of use in frameworks haven't been written yet. If time is short please use the standalone example from the Quickstart section, it works no matter what framework you use / don't use.
The Sylar library is open-sourced software licensed under the MIT license.