pixeldev / sulu-gdprbundle
Sulu 的 GDPR 工具
1.0.0
2022-05-31 14:34 UTC
Requires
- php: ^7.4 || ^8.0
- sulu/sulu: ^2.4
- symfony/config: ^4.4 || ^5.0
- symfony/dependency-injection: ^4.4 || ^5.0
- symfony/framework-bundle: ^4.4 || ^5.0
- symfony/http-foundation: ^4.4 || ^5.0
- symfony/http-kernel: ^4.4 || ^5.0
This package is not auto-updated.
Last update: 2024-09-18 23:56:48 UTC
README
要求
- PHP >= 7.4
- Sulu >= 2.4.*
- Symfony >= 5.4
安装
安装包
执行以下 composer 命令,将包添加到项目的依赖中
composer require pixeldev/sulu-gdprbundle --with-all-dependencies
启用包
通过将包添加到项目 config/bundles.php
文件中注册的包列表中启用包
return [ /* ... */ Pixel\GDPRBundle\GDPRBundle::class => ['all' => true], ];
更新架构
bin/console do:sch:up --force
包配置
在 routes_admin.yaml
中定义管理员 API 路由
gdpr.setting_api: type: rest prefix: /admin/api resource: pixel_gdpr.settings_route_controller name_prefix: gdpr.