ionut / sylar
Sylar it's the Intrusion Detection System(IDS) which you can trust!
Installs: 2 618
Dependents: 0
Suggesters: 0
Security: 0
Stars: 24
Watchers: 6
Forks: 3
Open Issues: 1
Requires
- php: >=5.4.0
- illuminate/console: >=5
- illuminate/container: >=5
- illuminate/events: >=5
- swiftmailer/swiftmailer: ~5
Requires (Dev)
- php: >=5.4.0
- mockery/mockery: 0.9.1
- phpunit/phpunit: 4.1.*
README
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.
Installation
composer require ionut/sylar
Quickstart
<?php use Ionut\Sylar\Integrations\Standalone; $sylar = new Standalone('path/to/your.log'); $sylar->run();
Dashboard
Although not publicly released yet, it's important to state that Sylar will have a nice dashboard, hopefully, at the end of May.
Frameworks
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.
License
The Sylar library is open-sourced software licensed under the MIT license.