Registry / serialization / doctrine-annotations

doctrine-annotations

JSON →
library2.0.2phppackagistunverified

Docblock Annotations Parser

serializationother
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use Doctrine\Common\Annotations\AnnotationReader;

Read annotations from a class

use Doctrine\Common\Annotations\AnnotationReader; $reader = new AnnotationReader(); $reflectionClass = new ReflectionClass(MyClass::class); $annotations = $reader->getClassAnnotations($reflectionClass); print_r($annotations);
Debug
Known footguns
breakingDoctrine Annotations 2.x requires PHP 8.0+ and uses `doctrine/lexer` 3.x; upgrading from 1.x may break custom annotation classes.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
15 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
mj12bot
1
ahrefsbot
1
Resources