PHPackages                             mvccore/ext-tool-csp - 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. [Framework](/categories/framework)
4. /
5. mvccore/ext-tool-csp

ActiveLibrary[Framework](/categories/framework)

mvccore/ext-tool-csp
====================

MvcCore - Extension - Tool - Csp - utility to easilly complete `Content-Security-Policy` HTTP header.

v5.3.2(1mo ago)03301BSD-3-ClausePHPPHP &gt;=5.4.0

Since Apr 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mvccore/ext-tool-csp)[ Packagist](https://packagist.org/packages/mvccore/ext-tool-csp)[ RSS](/packages/mvccore-ext-tool-csp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (6)Versions (10)Used By (1)

MvcCore - Extension - Tool - Content Security Policy
====================================================

[](#mvccore---extension---tool---content-security-policy)

[![Latest Stable Version](https://camo.githubusercontent.com/f4548b31034f2871a699ddf4e0c7bc5d6262647d641868f7ea7f6a3f3297db5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f537461626c652d76352e332e312d627269676874677265656e2e7376673f7374796c653d706c6173746963)](https://github.com/mvccore/ext-tool-csp/releases)[![License](https://camo.githubusercontent.com/53baed538c1c87a033a212f6f4acce684d36137f8622307643ab25e08118452e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d425344253230332d627269676874677265656e2e7376673f7374796c653d706c6173746963)](https://mvccore.github.io/docs/mvccore/5.0.0/LICENSE.md)[![PHP Version](https://camo.githubusercontent.com/9e923690739211296a00adce5d359999dfa345f80fc1b2e2cfe72c49523ee334/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d352e342d627269676874677265656e2e7376673f7374796c653d706c6173746963)](https://camo.githubusercontent.com/9e923690739211296a00adce5d359999dfa345f80fc1b2e2cfe72c49523ee334/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d352e342d627269676874677265656e2e7376673f7374796c653d706c6173746963)

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

[](#installation)

```
composer require mvccore/ext-tool-csp
```

Features
--------

[](#features)

Extension to easilly complete `Content-Security-Policy` HTTP header.
Read more info here:

- [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy)
- [W3C](https://www.w3.org/TR/CSP3/)
- [Content Security Policy](https://content-security-policy.com/)

Usage
-----

[](#usage)

```
