Download the PHP package rylxes/laravel-gdpr without Composer

On this page you can find all versions of the php package rylxes/laravel-gdpr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-gdpr

Laravel GDPR

Full Documentation — Complete usage guide, configuration reference, and API docs.

Latest Version PHP Version Laravel Version

GDPR and CCPA compliance toolkit for Laravel applications. Provides data export (portability), right to erasure, consent management, and audit trails in a single package.

Features

Installation

1. Install via Composer

2. Run the installer

This publishes the configuration file and runs migrations.

3. Implement contracts on your models

Apply Exportable and Deletable to any model containing personal data:

Usage

Data Export

Right to Erasure

Consent Management

Consent Middleware

Gate routes that require specific consent:

Data Cleanup

Configuration

Publish the config file:

Key Configuration Options

Option Default Description
export.default_format json Default export format (json, csv, xml)
export.storage_disk local Filesystem disk for export files
export.download_link_expiry_minutes 60 Download link lifetime
erasure.strategy anonymize Default: anonymize or delete
erasure.cooling_off_days 14 Days before erasure executes
consent.version 1.0 Current consent version
consent.log_ip_address true Log IP with consent events
queue.enabled true Queue export/erasure jobs
queue.queue_name gdpr Queue name for GDPR jobs
audit.consent_logs_retention_days 2555 ~7 years retention

Per-Model Strategy Overrides

Environment Variables

Events

Listen to GDPR events for custom integrations:

Event When
DataExported After a data export is completed
DataErased After user data has been erased
ConsentRecorded When a user gives consent
ErasureRequested When an erasure request is created

Database Schema

Table Purpose
gdpr_consent_logs Consent events with timestamps, IP, and version
gdpr_erasure_requests Erasure request lifecycle and audit trail
gdpr_data_exports Export records with download tokens and status

All tables use a configurable prefix (gdpr_ by default).

Testing

Local Development

Add the package as a path repository in your Laravel app's composer.json:

Then run:

Security

Contributing

Please see CONTRIBUTING.md for details.

License

The MIT License (MIT). Please see License File for more information.

Credits

Support


All versions of laravel-gdpr with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/console Version ^10.0|^11.0|^12.0
illuminate/database Version ^10.0|^11.0|^12.0
illuminate/events Version ^10.0|^11.0|^12.0
illuminate/filesystem Version ^10.0|^11.0|^12.0
illuminate/http Version ^10.0|^11.0|^12.0
illuminate/mail Version ^10.0|^11.0|^12.0
illuminate/notifications Version ^10.0|^11.0|^12.0
illuminate/queue Version ^10.0|^11.0|^12.0
illuminate/support Version ^10.0|^11.0|^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rylxes/laravel-gdpr contains the following files

Loading the files please wait ...