Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Annotation Tools Laravel Package

ruwork/annotation-tools

Annotation tools for Laravel and PHP: read, cache, and validate Doctrine-style annotations with a lightweight parser, helping you wire annotation-driven configuration, routing, or metadata into your app without heavy dependencies or repeated reflection overhead.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for developer-experience tooling. This package represents a narrow category: PHP docblock/annotation scanning utilities (class discovery, annotation reading) that a Laravel shop might use to auto-register routes, services, config, or plugins. Evaluating it forces the real question — do we vendor a micro-package, fork it, or write 200 lines ourselves? For a package this small, the honest answer is usually "write it."
  • Whether to invest in annotation-driven architecture at all. Before committing roadmap to "convention over configuration" DX features (attribute-based routing, auto-wired services, declarative config), a PM can use this package as a concrete artifact to frame the debate: docblock annotations vs. PHP 8 attributes vs. plain config files. This is the most defensible use of the package — as a reference point in an architecture decision, not as a dependency.
  • Ecosystem risk modeling. With 0 stars, 0 dependents, and a last release of May 2018, this is a textbook case for your dependency-review checklist: what happens to our product if this maintainer disappears (they did, effectively), and what does that cost us in migration? Use it to pressure-test your third-party risk policy.
  • Internal tooling use cases. If you have a code-generation or plugin-discovery need — e.g., scanning app/ for classes carrying a marker — this package's shape tells you what a minimal implementation looks like, which is useful when scoping an internal sprint rather than buying.

When to Consider This Package

Consider it only if all of the following are true:

  • You are already inside the Ruwork/Ruvents package family and need consistency with sibling packages.
  • You need a tiny docblock scanner and are prepared to fork, vendor, and own maintenance — treat it as source code you are adopting, not a dependency you are tracking.
  • Your runtime is PHP 7.x-era and you have no appetite for PHP 8 attributes.

Look elsewhere in essentially every other case:

  • Production dependencies: no. Zero dependents, no releases since 2018, no visible maintenance. That is an abandoned package by any reasonable definition.
  • Annotation parsing generally: doctrine/annotations (still maintained) or, better, native PHP 8 attributes with ReflectionAttribute — which removes the docblock-parsing problem entirely and should be your default recommendation in 2024+.
  • Class/metadata discovery in Laravel: Laravel's own service provider and container discovery, or symfony/finder + reflection, cover the same ground with maintained code.
  • Documentation and support: none of substance is available; the README/description is a single line. A PM cannot onboard a team onto this.

Net: this is a research artifact, not a candidate dependency. Do not add it to a composer.json you intend to ship.

How to Pitch It (Stakeholders)

For executives (30 seconds): We evaluated a small open-source PHP utility for annotation-based code discovery. It is technically interesting but effectively abandoned — no releases in seven years, no downstream users, no documentation. Recommendation: do not adopt. It costs us nothing to skip and would create a maintenance liability if we didn't. The strategic insight it surfaces is worth keeping: modern PHP now supports this pattern natively, so we should standardize on language features rather than third-party annotation libraries.

For engineering leads: Use this repo as a pattern reference only — it shows the minimal shape of a docblock scanner. Do not add it as a dependency. If we need class/annotation discovery, we implement it against PHP 8 attributes and reflection in-house, roughly a day of work, with zero external maintenance risk. If any existing service already pulls this in transitively, flag it for replacement.

The one-line decision: Reject as a dependency; retain as an input to our annotation-vs-attributes architecture decision and our third-party risk checklist.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect