lingaro/module-csp

Module for CSP

Installs: 65

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 1

Open Issues: 0

Type:magento2-module

2.0.1 2023-06-02 07:17 UTC

This package is auto-updated.

Last update: 2024-11-07 10:14:23 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
  • 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

Attributes