Download the PHP package cerpus/gdpr without Composer
On this page you can find all versions of the php package cerpus/gdpr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package gdpr
Short Description A package that helps with implementing GDPR compliance in the EdLib ecosystem
License proprietary
Informations about the package gdpr
GDPR helper service
This is a Laravel package to help implement GDPR compliance in a system
Installation
If you are running on Laravel 5.4 or less you must add the service provider to config/app.php
.
In Laravel 5.5 and up the package will auto register.
Publish artifacts to your app.
This will publish the config file to config/gdpr.php
. The GdprService will have a default deletion file, and you have to make a class that implements the Cerpus\Gdpr\Contracts\GdprDeletionContract
interface. Change the config/gdpr.php
file to point to your implementation.
php artisan migrate
to run the published migration(s).
Usage
To implement the GDPR deletion in your system create a class somewhere in your app that implements the Cerpus\Gdpr\Contracts\GdprDeletionContract
.
See src/DummyDeletion.php
for the default example. You can copy this and rename it to start you deletion class.
As an example if you create a file in app/Gdpr/GdprDelete.php
you must update the config/gdpr.php
like this:
The delete
method will receive a GdprDeletionRequest
as parameter. The request itself is in $deletionRequest->payload and will at least include an AuthId (userId).
You should log the progress of the deletion using $deletionRequest->log('processing', <your message here>);
at appropriate times.
License
This package is released under the GNU General Public License 3.0. See the
LICENSE
file for more information.
All versions of gdpr with dependencies
league/fractal Version >=0.13
illuminate/http Version >=5.2
illuminate/support Version >=5.2
illuminate/routing Version >=5.2
illuminate/pagination Version >=5.2
illuminate/database Version >=5.2
ramsey/uuid Version >=3.8
illuminate/bus Version >=5.2
illuminate/queue Version >=5.2
cerpus/laravel-auth Version *
nesbot/carbon Version ^1.0||^2.0