Download the PHP package aichadigital/lara-privacy-core without Composer
On this page you can find all versions of the php package aichadigital/lara-privacy-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aichadigital/lara-privacy-core
More information about aichadigital/lara-privacy-core
Files in aichadigital/lara-privacy-core
Package lara-privacy-core
Short Description Dependency-free GDPR core for lara-privacy: the LegallyRetainable contract and a pure legal-hold decision (no Eloquent, no side effects, no jurisdiction).
License MIT
Informations about the package lara-privacy-core
lara-privacy-core
The dependency-free, framework-free core of
lara-privacy: a universal
contract for legal data-retention obligations and a pure decision over it.
No Eloquent, no side effects, no jurisdiction, no domain assumptions. A domain package (billing, medical, HR…) implements the contract; the privacy layer reads it to decide whether a record may be touched.
Governing rule: lara-privacy defines privacy contracts. Domain packages implement them. No domain package — and no jurisdiction — defines the shape of the core.
Install
Requires PHP 8.3+. That is the only requirement — there are no runtime dependencies.
What it ships
Contracts\LegallyRetainable— one method,retainedUntil(): ?DateTimeInterface: the instant until which an object must be kept, ornullwhen it carries no retention obligation.CheckLegalHold— a pure, clock-injected decision: is a subject under an active retention hold at a given$now? (retainedUntil > now).
Quick example
Documentation
- Implementing
LegallyRetainable— the contract, three neutral domain examples, and what does not belong in it.
The Laravel integration (the read-only hold gate, jurisdictional retention
presets, and worked adapters) lives in the
aichadigital/lara-privacy
package.
License
MIT. See LICENSE.