kartinov/gdpr-toolkit
Composer 安装命令:
composer require kartinov/gdpr-toolkit
包简介
GDPR toolkit for Laravel
README 文档
README
A lightweight package to help Laravel developers address GDPR requirements.
Installation
Require the package via Composer:
composer require kartinov/gdpr-toolkit
Publish the configuration file:
php artisan vendor:publish --provider="Kartinov\GdprToolkit\GdprToolkitServiceProvider"
Configuration
Adjust the published config file config/gdpr-toolkit.php to define which fields are considered personal data and which models should be excluded:
return [ 'personal_data_columns' => ['email', 'phone', 'address'], 'exclude_models' => [App\Models\User::class], ];
Usage
Run the artisan command to generate a draft Record of Processing Activities (RoPA):
php artisan gdpr:scan
This will create a RoPA file in JSON format at:
storage/app/gdpr-ropa.json
The file lists each model and its personal‑data fields, giving you a developer‑friendly starting point for GDPR compliance.
Documentation
For a deeper explanation of RoPA and how this package helps, see:
License
This package is open-sourced software licensed under the MIT license.
See the LICENSE file for details.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-21