Skip to content

Instantly share code, notes, and snippets.

@artturik
artturik / Security.php
Last active September 23, 2018 18:45 — forked from iangcarroll/Security.php
Expose (a PHPIDS fork) middleware for Laravel. Assumes it's already included via composer.
<?php
namespace App\Http\Middleware;
use Closure;
use Monolog\Logger;
use Monolog\Handler\StreamHandler;
use Log;
class Security {