Download the PHP package ginkelsoft/laravel-compliance-hub without Composer
On this page you can find all versions of the php package ginkelsoft/laravel-compliance-hub. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ginkelsoft/laravel-compliance-hub
More information about ginkelsoft/laravel-compliance-hub
Files in ginkelsoft/laravel-compliance-hub
Package laravel-compliance-hub
Short Description Umbrella package for the GinkelSoft GDPR/AVG compliance family. Installing this single package pulls in retention, right-to-be-forgotten, subject access, consent and breach registry, and exposes a compliance:verify command that checks every audit-log chain in one shot.
License MIT
Informations about the package laravel-compliance-hub
Ginkelsoft Laravel Compliance Hub
Overview
Umbrella for the GinkelSoft GDPR / AVG compliance family. Installing this single package pulls in every member of the family and adds two Artisan commands that operate across all five audit-log chains in one shot:
compliance:verify— runsHashChain::verify()on every audit-log table in the family. Exits non-zero when at least one chain is tampered or otherwise unverifiable. Perfect for a scheduled job that pages whoever is on call.compliance:report— bundles row counts and verify status per chain into a single Markdown or JSON report. No personal data — only counts and status, safe to drop into a board pack.compliance:migrate-v1-access-rows— optional cleanup for installations upgrading from the monolithic v1.x package: copies oldsubject_access_exportedrows out ofretention_loginto the purpose-builtsubject_access_logtable. Idempotent, transaction-safe, and--dry-run-able. See below.
This package is the art. 5(2) accountability evidence-generator for
the family. It owns no migrations and no models of its own; everything
it does is built on top of Ginkelsoft\ComplianceCore\Support\HashChain
and the per-control packages' audit tables.
The family
Installing this package installs the whole family.
| Package | GDPR Article(s) | Role |
|---|---|---|
laravel-compliance-core |
art. 5(2) | Shared primitives |
laravel-data-retention |
art. 5(1)(e) | Storage limitation |
laravel-data-right-to-be-forgotten |
art. 17 | Subject-driven erasure |
laravel-data-subject-access |
art. 15 + 20 | Subject access |
laravel-data-consent |
art. 6(1)(a) + 7 | Consent registry |
laravel-data-breach-registry |
art. 33 + 34 | Breach registry |
laravel-compliance-hub |
art. 5(2) | Umbrella + verify/report — this package |
Installation
Composer pulls in core + the five functional packages automatically. Then publish each one's config and migrations:
Then add a single shared signing secret to .env:
This one secret signs every chain — retention, forget, subject access, consent, breach. Rotate it only as part of an explicit, documented audit rotation procedure.
Usage
Verify every chain in one shot
Output:
Schedule it:
Exit code is 0 when every present chain verifies, 1 when at least
one chain fails. Tables that are not present in the schema (a family
package whose migration has not been run) are reported as — (table missing) and do not count as a failure — so a partial install does
not page anyone.
Bundled report
The report contains row counts and verify status per chain, plus a "generated_at" timestamp. No personal data. Suitable for handing to the DPO every month or pasting into a board pack as evidence of art. 5(2) accountability.
Migrate v1.x subject-access rows out of retention_log
In the monolithic v1.x package, subject-access exports (GDPR art. 15)
were logged into the shared retention_log table (action = subject_access_exported, retention_field = subject_access). v2.x
gives subject access its own subject_access_log table instead. You
do not have to migrate anything — the upstream UPGRADE.md is explicit
that old rows staying in retention_log is safe and its hash chain
keeps verifying either way. If you want a clean split anyway (e.g.
before pointing a reporting tool only at subject_access_log), run:
What it does and does not do:
- Reads
retention_logrows matching the v1.x subject-access signature, and writes the equivalent row tosubject_access_log, appended to that table's own hash chain (a freshly computed chain for the moved rows — not a replay of their originalretention_loghashes, which belong to a different chain with a different payload shape). - Never updates or deletes anything in
retention_log. That table is append-only by design — mutating or removing a row would invalidate every hash chained after it. The original rows stay exactly where they are and their chain keeps verifying unchanged. - Idempotent. Every candidate row is matched against
subject_access_logonsubject_hash+model_type+record_count+performed_atbefore writing; rows already present are skipped. Running the command any number of times never creates duplicates. - Transaction-safe. Each row is written inside its own
DB::transaction(), which locks the tail ofsubject_access_logfor update and re-checks for a concurrent duplicate before appending — so it can safely run alongside liveretention:exporttraffic. - Rows it cannot interpret (a
model_idthat is not a 64-char subject hash, or aretention_periodthat does not match the v1.x"<n> records"convention) are skipped and reported with a reason; they never abort the run. - v1.x never recorded an export
format; migrated rows get--format's value (defaultlegacy) so they are easy to tell apart from native v2.x exports later.
The hub still owns no migrations or tables of its own — this command
only reads retention_log (owned by laravel-data-retention) and
writes through SubjectAccessLogEntry (owned by
laravel-data-subject-access).
What the hub does NOT do
compliance:verifyandcompliance:reportnever write anything — they only read the audit logs to verify hashes. The one exception is the opt-incompliance:migrate-v1-access-rows, which writes new rows tosubject_access_logand never touchesretention_log(see above).- It does not own its own tables. Every chain it verifies (or, for the migration command, writes to) is the responsibility of one of the family packages.
- It does not enforce a UI. Verify + report are CLI-first; build your own Filament / Nova / Livewire layer on top if you want a dashboard.
Compliance notes
- GDPR art. 5(2) — Accountability. The bundled report + scheduled verification together are the operational realization of this principle: evidence that every control is in place and every audit trail is internally consistent.
This package is not legal advice. The judgements that produce the data this package verifies — retention periods, severity assessments, DPIA decisions — belong to your DPO.
Testing
Reporting bugs
Found a bug or unexpected behaviour? We want to hear about it.
Preferred — open a GitHub issue: https://github.com/ginkelsoft-development/laravel-compliance-hub/issues/new
When opening an issue, please include:
- Versions — PHP, Laravel, and
ginkelsoft/laravel-compliance-hub(composer show ginkelsoft/laravel-compliance-hub). - What you did — the artisan command, code snippet, or steps that triggered the bug.
- What you expected vs what actually happened — include full error output or a stack trace if there is one.
- A minimal reproduction if you can — a failing test or a small code sample beats a long description.
Security-sensitive findings (anything that could expose personal data, break a hash-chain, or bypass an audit log) — please do not open a public issue. E-mail [email protected] directly with "SECURITY" in the subject line and we will respond privately.
Not on GitHub? You can also e-mail [email protected] with the same information.
Contact
For commercial support, integration questions, or anything that doesn't fit a GitHub issue: [email protected] — https://ginkelsoft.com.
License
MIT License — see LICENSE. (c) 2026 Ginkelsoft
All versions of laravel-compliance-hub with dependencies
illuminate/support Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/database Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/console Version ^10.0 || ^11.0 || ^12.0 || ^13.0
ginkelsoft/laravel-compliance-core Version dev-development
ginkelsoft/laravel-data-retention Version dev-development
ginkelsoft/laravel-data-right-to-be-forgotten Version dev-development
ginkelsoft/laravel-data-subject-access Version dev-development
ginkelsoft/laravel-data-consent Version dev-development
ginkelsoft/laravel-data-breach-registry Version dev-development