This package is abandoned and no longer maintained. The author suggests using the ionut/sylar package instead.

Sylar it's the Intrusion Detection System(IDS) which you can trust!

v7.1 2015-01-26 05:46 UTC

This package is not auto-updated.

Last update: 2019-02-20 18:09:53 UTC


Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

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


use Ionut\Sylar\Integrations\Standalone;

$sylar = new Standalone('path/to/your.log');


Although not publicly released yet, it's important to state that Sylar will have a nice dashboard, hopefully, at the end of May.


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.