Skip to main content

Overview

Frameworks represent EU regulations such as GDPR, CRA, NIS2, and the AI Act. Use $client->frameworks to list and fetch them.

Methods

list()

Returns a page of all available frameworks.
Returns Page<FrameworkSummary>

get()

Fetch a single framework by slug, including detailed counts.
Parameters
ParameterTypeDescription
$slugstringFramework slug, e.g. 'gdpr'
Returns Framework

iter()

Iterate over all frameworks across all pages.
Returns \Generator<FrameworkSummary>

Models

FrameworkSummary

Returned by list() and iter().
FieldTypeDescription
idintInternal numeric ID
slugstringURL-safe identifier, e.g. 'cra'
namestringFull framework name
shortNamestringShort name, e.g. 'CRA'
celexNumberstringEUR-Lex CELEX identifier
descriptionstring|nullBrief description
isActiveboolWhether data is actively maintained
statusstring'active', 'draft', or 'superseded'
articleCountintNumber of synced articles
recitalCountintNumber of synced recitals
createdAtstringISO 8601 creation timestamp

Framework

Returned by get(). Extends FrameworkSummary with:
FieldTypeDescription
eurLexUrlstringLink to the official EUR-Lex page
requirementCountintNumber of extracted requirements
annexCountintNumber of annexes
tagCountintNumber of associated tags
coveragearray|nullCoverage statistics

Examples

List all active frameworks

Find frameworks with full article coverage