Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

annotations

> 编程语言
Open source

Annotations Docblock Parser

6.7K stars0 likes2 views
WebsiteGitHub

About

Annotations Docblock Parser

⚠️ PHP 8 introduced attributes, which are a native replacement for annotations. As such, this library is considered feature complete, and should receive exclusively bugfixes and security fixes.

We do not recommend using this library in new projects and encourage authors of downstream libraries to offer support for attributes as an alternative to Doctrine Annotations.

Have a look at our blog to learn more.

Doctrine Annotations

Docblock Annotations Parser library (extracted from Doctrine Common).

Documentation

See the doctrine-project website.

Contributing

When making a pull request, make sure your changes follow the Coding Standard Guidelines.

Issues· 26 open

View all issuesOpen on GitHub
  • #490

    Bug with PhpParser when instantiating the Tokenizer

    Updated Sep 5, 2023
  • #485

    [RFC] Flag the package as abandoned on Packagist

    RFCUpdated Aug 23, 2023
  • #457

    PsrCachedReader::fetchFromCache might return null instead of array under high request rate

    Updated Apr 8, 2023
  • #268

    Annotation imports are not parsed for nested traits

    bugUpdated Jan 19, 2023
  • #435

    Add @type to ignored list

    bugUpdated Oct 5, 2022
  • #186

    CachedReader fails if Reflection class is eval'd code

    Updated Jul 7, 2022
  • #420

    ignores extra closing brackets

    Updated Jul 23, 2021
  • #418

    Possible BC break in nested array annotations with @NestedAnnotation

    Updated Jul 10, 2021
  • #139

    Build an AST (Abstract syntax tree), before resolving classes and constants?

    questionImprovementUpdated Jul 9, 2021
  • #216

    Annotations from Traits are ignored

    buginvalidUpdated May 28, 2021

> Tags

PHPhacktoberfest

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 23, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言