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

Tokenable Symfony Laravel Package

laulamanapps/tokenable-symfony

Symfony bundle for token-based authentication: generate, hash, and manage API tokens for users or any Doctrine entity. Includes configurable expiration, scopes, and simple integration with Symfony security, offering a lightweight Sanctum-style token solution for PHP applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

Caveat: this baseline is derived solely from the v2.0.3 release notes. Confirm the capability list against the package README before circulating.

  • Build vs. buy for token/URL encoding. The package owns token generation, an #[Tokenable] entity attribute, encoded URLs, and a |token Twig filter. That is a narrow, well-bounded utility — the classic "don't build this yourself" case. The value is in the security-sensitive encoding path being maintained by someone else, not in the feature surface.
  • Framework-fit check (do this first). The signals in this release — Doctrine #[Tokenable] attributes, JOINED/single-table inheritance, Twig filters, a profiler panel — are Symfony/Doctrine idioms, not Laravel ones. If the roadmap is Laravel-first, this is a conditional buy at best: expect integration glue (Eloquent equivalents of Doctrine inheritance, Blade instead of Twig) or a second implementation. This is the single biggest decision the notes support.
  • Support-cost modeling. The removed "Generated URLs" profiler panel was a developer-facing debugging aid. Its removal lowers the maintenance surface of the package but also removes a tool your team may have leaned on for local triage. Budget a small docs/onboarding update if your internal runbooks reference it.
  • Roadmap de-risking via inheritance support. The bugfix targets entities that inherit #[Tokenable] from an abstract Doctrine base. If your domain model uses a shared base entity (common in mature codebases), the package was previously misreporting collisions — false positives, not false negatives. That means adopters were getting noise, not silent breakage. Correct signal, but it justifies validating the profiler against your own entity graph before trusting it in a support workflow.

When to Consider This Package

Adopt when:

  • You need opaque, encodable tokens embedded in URLs and already have a Doctrine/Twig/Symfony-shaped stack with #[Tokenable]-attributed entities.
  • Your entities use abstract-base inheritance (JOINED or single-table) — v2.0.3 specifically fixes false-positive collision and "prefix already used" noise for that pattern, so this release is a net improvement for exactly those teams.
  • You want the encoding logic maintained externally and are comfortable with a small, single-purpose dependency.

Look elsewhere or build thin when:

  • You are Laravel/Eloquent-first. The release notes give no evidence of Eloquent, Blade, or Laravel service-provider support. Doctrine inheritance semantics don't map cleanly onto Eloquent; treat cross-framework use as unproven until you see the docs.
  • Profiler-based debugging is part of your support story. The "Generated URLs" panel is gone as of this patch. If your onboarding or incident triage depended on it, you are now on your own for inspecting encoded URLs — verify |token and the Inbound/Classes panels cover the gap (the notes say they are unchanged) before committing.
  • You pin strictly to semantic versioning expectations. A dev-tooling capability was removed in a patch release (2.0.3). Nothing in the production path broke — token encoding and the Twig filter are explicitly untouched — but feature removal inside a patch bump is a release-hygiene smell worth raising with the maintainer, and a reason to read changelogs rather than trusting ^2.0 blindly.

How to Pitch It (Stakeholders)

To executives: A small, focused dependency that handles security-sensitive token encoding for us rather than us maintaining it. Latest patch fixes a real defect that was producing misleading "collision" warnings for teams with shared base entities, and trims a developer-only debugging panel to reduce the package's maintenance surface. No production behavior changed; token generation and the Twig filter are untouched. Risk is low and contained.

To engineering: v2.0.3 is a patch that (1) fixes false-positive "Triplet collides" / "Prefix already used" profiler errors by validating only classes that declare #[Tokenable], mirroring the Tokenizer — so the profiler and Tokenizer now agree, which matters if you use abstract-base (JOINED / single-table) inheritance; and (2) removes the profiler's "Generated URLs" panel and its recording hook. Action items: verify the profiler stops flagging your inherited entities, and drop any internal docs or screenshots referencing the Generated URLs panel. The |token filter, URL token encoding, and the Inbound/Classes panels are unchanged — no migration needed. Flag upstream that a panel removal shipped in a patch version, so we should read changelogs rather than assume ^2.0 is inert.

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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin