pixeldev/sulu-gdprbundle

GDPR tools for Sulu

Installs: 69

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Language:JavaScript

Type:sulu-bundle

1.0.0 2022-05-31 14:34 UTC

This package is not auto-updated.

Last update: 2024-10-31 00:28:41 UTC


README

Requirements

  • PHP >= 7.4
  • Sulu >= 2.4.*
  • Symfony >= 5.4

Installation

Install the bundle

Execute the following composer command to add the bundle to the dependencies of your project:

composer require pixeldev/sulu-gdprbundle --with-all-dependencies

Enable the bundle

Enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:

return [
    /* ... */
    Pixel\GDPRBundle\GDPRBundle::class => ['all' => true],
];

Update schema

bin/console do:sch:up --force

Bundle Config

Define the Admin Api Route in routes_admin.yaml

gdpr.setting_api:
  type: rest
  prefix: /admin/api
  resource: pixel_gdpr.settings_route_controller
  name_prefix: gdpr.