Download the PHP package azaharizaman/nexus-data-privacy without Composer
On this page you can find all versions of the php package azaharizaman/nexus-data-privacy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download azaharizaman/nexus-data-privacy
More information about azaharizaman/nexus-data-privacy
Files in azaharizaman/nexus-data-privacy
Package nexus-data-privacy
Short Description Framework-agnostic data privacy core: data subject rights, consent management, retention policies, breach notification
License MIT
Informations about the package nexus-data-privacy
Nexus\DataPrivacy
Version: 1.0.0
PHP Version: ^8.3
Type: Atomic Package (Framework-Agnostic)
Status: ✅ Production Ready
Overview
Nexus\DataPrivacy provides a regulation-agnostic foundation for personal data protection and privacy compliance. It implements core privacy management capabilities without embedding any specific jurisdiction's rules.
This package follows the Progressive Disclosure Pattern - it serves as the core abstraction layer, while jurisdiction-specific packages (like Nexus\GDPR or Nexus\PDPA) extend it with regulatory requirements.
Key Features
- ✅ Consent Management - Track, grant, withdraw, and renew data processing consents
- ✅ Data Subject Requests (DSARs) - Full lifecycle management for access, erasure, rectification, and portability requests
- ✅ Retention Policy Engine - Configurable data retention with category-based policies
- ✅ Breach Incident Management - Record, track, and manage data breach incidents
- ✅ Processing Activity Records (ROPA) - Maintain records of processing activities for compliance
- ✅ Audit Trail Integration - Full audit logging for all privacy-related operations
- ✅ Request Handlers - Pluggable handlers for each request type
- ✅ Framework-Agnostic - Pure PHP 8.3+, works with any framework
Installation
Installation
Architecture
Progressive Disclosure Pattern
This package serves as the regulation-agnostic core. Jurisdiction-specific requirements are provided by extension packages:
Package Structure
Quick Start
1. Consent Management
2. Data Subject Requests (DSARs)
3. Retention Policies
4. Breach Management
5. Processing Activities (ROPA)
External Dependencies
This package defines interfaces for external dependencies. Your application must provide implementations:
PartyProviderInterface
Provides access to personal data stored in Nexus\Party or your party system:
AuditLoggerInterface
Logs all privacy operations for compliance:
Binding in Laravel
Enums Reference
RequestType
| Value | Description | Typical Deadline |
|---|---|---|
ACCESS |
Right to access personal data | 30 days (GDPR) |
ERASURE |
Right to be forgotten | 30 days (GDPR) |
RECTIFICATION |
Right to correct data | 30 days (GDPR) |
RESTRICTION |
Right to restrict processing | 30 days (GDPR) |
PORTABILITY |
Right to data portability | 30 days (GDPR) |
OBJECTION |
Right to object to processing | 30 days (GDPR) |
AUTOMATED_DECISION |
Rights related to automated decisions | 30 days (GDPR) |
RequestStatus
DataCategory
| Category | Special Category | Risk Level |
|---|---|---|
BASIC_IDENTITY |
No | Low |
CONTACT |
No | Low |
FINANCIAL |
No | High |
HEALTH |
Yes | Critical |
BIOMETRIC |
Yes | Critical |
GENETIC |
Yes | Critical |
RACIAL_ETHNIC |
Yes | High |
POLITICAL |
Yes | High |
RELIGIOUS |
Yes | High |
SEXUAL_ORIENTATION |
Yes | High |
TRADE_UNION |
Yes | High |
CRIMINAL |
Yes | Critical |
CHILDREN |
Yes | Critical |
LOCATION |
No | Medium |
BEHAVIORAL |
No | Medium |
COMMUNICATION |
No | Medium |
TRANSACTION |
No | Medium |
EMPLOYMENT |
No | Medium |
BreachSeverity
| Severity | Response Time | Criteria |
|---|---|---|
LOW |
5 days | < 100 subjects, no special categories |
MEDIUM |
48 hours | 100-1000 subjects, low-risk categories |
HIGH |
24 hours | 1000-10000 subjects or sensitive categories |
CRITICAL |
Immediate | > 10000 subjects or highly sensitive |
Extension Packages
Nexus\GDPR (EU General Data Protection Regulation)
Nexus\PDPA (Malaysia Personal Data Protection Act)
Testing
Dependencies
License
MIT License. See LICENSE file for details.
Last Updated: December 2025
Maintained By: Nexus Architecture Team