lingaro / module-csp
Module for CSP
Installs: 90
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 1
Open Issues: 0
Type:magento2-module
Requires
- php: ^7.4 || ^8.1
This package is auto-updated.
Last update: 2024-12-07 10:17:03 UTC
README
``lingaro/module-csp``
Main Functionalities
Installation
* = in production please use the --keep-generated
option
Type 1: Zip file
- Unzip the zip file in
app/code/Lingaro
- Enable the module by running
php bin/magento module:enable Lingaro_Csp
- Apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
Type 2: Composer
- Make the module available in a composer repository for example:
- private repository
repo.magento.com
- public repository
packagist.org
- public github repository as vcs
- private repository
- Add the composer repository to the configuration by running
composer config repositories.repo.magento.com composer https://repo.magento.com/
- Install the module composer by running
composer require lingaro/module-csp
- enable the module by running
php bin/magento module:enable Lingaro_Csp
- apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
Configuration
Specifications
-
Controller
- frontend > csp/index/index
-
Plugin
- beforeS - Lingaro\Csp > Plugin\Lingaro\Csp