Skip to content

geggleto/geggleto-csp-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSP Middleware

Extends CSPBuild to provide an invokable interface for PSR-7 Middleware Stacks

Usage

//Examples written to use Slim 3
$cspMiddleware = CSPMiddleware::fromFile('/path/to/source.json');

//App Middleware
$app->add($cspMiddleware);

//Route Middleware
$app->get(''...)->add($cspMiddleware);

About

Middleware for CSP by Paragoonie

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages