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);
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.