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

Hateoas Bundle Laravel Package

talentrydev/hateoas-bundle

A Symfony bundle for building HATEOAS-compliant APIs, adding hypermedia links and relations to your resources so clients can discover and navigate endpoints dynamically. Integrates with your existing serialization to expose self-descriptive, discoverable responses.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • API maturity / HATEOAS roadmap: Supports the decision of whether to expose Level 3 REST (hypermedia-driven) APIs — embedding _links/_embedded in HAL-JSON payloads via PHP annotations/attributes — versus pragmatic "REST-ish" JSON. This is the core feature this bundle enables.
  • Client coupling & versioning strategy: HATEOAS-driven discoverability can reduce hard-coded URL coupling in mobile/web/SDK clients, which directly affects how often you must ship API version bumps and how much client-side rework hits your roadmap.
  • Build vs. buy for API plumbing: It is a thin Symfony DI integration layer over the underlying willdurand/hateoas library. The PM decision is really "adopt a serializer/hypermedia library" (buy/OSS) versus "hand-roll link generation in controllers" (build). This bundle adds almost nothing that isn't in the core library plus a service config.
  • Use cases it plausibly enables: Public or partner-facing REST APIs where resource discoverability matters (HAL, JSON-LD style links), hypermedia navigation in B2B integrations, and self-describing API surfaces for external developers.
  • Framework-strategy signal: Because this is a Symfony bundle, not a Laravel package, evaluating it is effectively a check on whether the platform is Symfony-based. For a Laravel codebase, this package is irrelevant and the decision shifts to Laravel-native equivalents (Laravel Resources / HAL serializers, or the raw Hateoas library).

When to Consider This Package

Consider only if:

  • Your backend is Symfony (not Laravel). This is a Symfony bundle; it does not integrate with Laravel.
  • You have already chosen the willdurand/hateoas core library and want Symfony service-container wiring, annotation-based configuration, and serializer integration out of the box.
  • The team is comfortable pinning to a low-maintenance, unmaintained fork with 0 stars and 0 dependents — i.e., you accept the maintenance burden or vendor it internally.
  • The value proposition of hypermedia (discoverable links, reduced client coupling) is validated by real partner/client requirements — not adopted speculatively.

Look elsewhere if:

  • You are on Laravel. This package provides zero value there; do not adopt. Evaluate Laravel API Resources, a HAL serializer, or the core Hateoas library directly.
  • You are on modern Symfony (6/7). The 2021 release and "Symfony2" framing are red flags — Symfony 2 is long EOL. Verify compatibility or prefer the upstream BazingaHateoasBundle or direct library usage.
  • Supply-chain / audit concerns exist. A 0-star, 0-dependent fork of a well-known package is a maintenance and provenance risk; prefer the canonical upstream or pin/vendor explicitly.
  • You don't actually need HATEOAS. Hypermedia adds payload weight and complexity; simple resource-oriented JSON with stable URLs is usually enough and cheaper to maintain.
  • Team velocity depends on familiar tooling. A niche, stale integration layer raises onboarding cost and bus-factor risk.

How to Pitch It (Stakeholders)

For executives: This is a small, low-risk technical adoption decision, not a product differentiator. It sits in the "API plumbing" bucket and only matters if we're building a discoverable, hypermedia-style API that external partners or clients consume. The package itself is a thin wiring layer over an established PHP library — the real cost is adopting and maintaining that pattern, not the bundle. Given it is an unmaintained Symfony bundle with negligible community traction, it is not a strategic asset, and I would not recommend betting roadmap or headcount on it.

For engineering: Treat this as a Symfony integration shim over willdurand/hateoas, not a standalone capability. Two blocking questions before adoption: (1) Are we actually a Symfony shop — this does not fit Laravel? (2) Are we comfortable owning a 2021-vintage, zero-traction fork, or should we depend on the upstream BazingaHateoasBundle / the core library directly? Default recommendation: use the core library or the canonical upstream; avoid this fork unless you plan to vendor and maintain it. Only pursue hypermedia if a concrete client or partner requirement justifies the added payload and tooling complexity.

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/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
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route