Documentation Index
Fetch the complete documentation index at: https://docs.law4devs.eu/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Requirements are structured compliance obligations extracted from regulatory articles. Each requirement has a type, optional deadline, linked articles, and stakeholder roles. Use$client->requirements to access them.
Methods
list()
Returns a page of requirements for the given framework.
Page<Requirement>
get()
Fetch a single requirement by ID.
Requirement
iter()
Iterate over all requirements in a framework.
\Generator<Requirement>
Model
Requirement
| Field | Type | Description |
|---|---|---|
id | int | Internal numeric ID |
frameworkSlug | string | Parent framework slug |
articleNumber | int|null | Source article number |
paragraphRef | string|null | Paragraph reference within the article |
paragraphContent | string|null | Text of the source paragraph |
requirementText | string | The extracted requirement |
requirementType | string | Category, e.g. 'obligation', 'prohibition' |
complianceDeadline | string|null | Deadline date (ISO 8601) if specified |
linkedArticleNumbers | int[] | Related article numbers |
stakeholderRoles | string[] | Affected parties, e.g. 'manufacturer' |
tags | Tag[] | Tags applied to this requirement |
createdAt | string | ISO 8601 creation timestamp |
