PHPackages                             sockam/csp-logger-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. sockam/csp-logger-bundle

ActiveSymfony-bundle[Security](/categories/security)

sockam/csp-logger-bundle
========================

A Symfony Bundle that can collect reports from CSP

0.2.0(9y ago)112MITPHPPHP ^5.5.9 || ^7.0

Since Feb 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/vamsiikrishna/CSPLoggerBundle)[ Packagist](https://packagist.org/packages/sockam/csp-logger-bundle)[ RSS](/packages/sockam-csp-logger-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (12)Versions (3)Used By (0)

Intro to SockamCSPLoggerBundle
==============================

[](#intro-to-sockamcsploggerbundle)

[![SensioLabsInsight](https://camo.githubusercontent.com/1471d01a748523d6aa81b2b4d8521ea019f5ba12b6474ed9bb504fc55a2d7fcd/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f39633931366365642d306631332d346338312d393031372d3332643734393666316366352f6d696e692e706e67)](https://insight.sensiolabs.com/projects/9c916ced-0f13-4c81-9017-32d7496f1cf5) [![StyleCI](https://camo.githubusercontent.com/892ac8b8d66ddf2e6cee441cdaeb3227654e8da99c7a625594cb45a0b6b274d8/68747470733a2f2f7374796c6563692e696f2f7265706f732f38303834383931372f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/80848917) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/41c3019eb36413427d344c1223c209923ec3345fb3aca70459fe96d0068fc334/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f76616d7369696b726973686e612f4353504c6f6767657242756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/vamsiikrishna/CSPLoggerBundle/?branch=master)

The SockamCSPLoggerBundle provides a basic service for logging [content security policy](https://developer.mozilla.org/en-US/docs/Security/CSP) violations.

\#Features

- Saving CSP violations
- Viewing the saves CSP violations

Installation
------------

[](#installation)

### Get the bundle

[](#get-the-bundle)

Add `sockam/csp-logger-bundle` to your dependencies:

```
{
    "require": {
        ...
        "sockam/csp-logger-bundle": "^0.2.0"
    }
    ...
}
```

To install, run `php composer.phar [update|install]`.

### Add CSPLoggerBundle to your application kernel

[](#add-csploggerbundle-to-your-application-kernel)

```
