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

Doctrine Rest Bundle Laravel Package

zan/doctrine-rest-bundle

Zan Doctrine REST Bundle provides a Symfony integration for exposing Doctrine entities through RESTful endpoints, reducing boilerplate for CRUD APIs. Configure resources, routing, and serialization to quickly turn your ORM models into JSON APIs.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Roadmap modernization: shifting API serialization/exposure configuration from Doctrine-style annotations to native PHP 8 attributes.
  • Build vs buy: evaluating a package that provides GenericEntityResultSet, MinimalEntitySerializer, and EntityPropertyEditabilityMap rather than building attribute-driven entity serialization and API editability metadata in-house.
  • Feature enablement: API resource exposure, field-level serialization whitelisting, and editable-property maps for entity-backed APIs.
  • Upgrade planning: deciding when to schedule annotation-to-attribute migration work and whether to adopt 1.2.0 as the new baseline or pin an earlier release for legacy annotation compatibility.

When to Consider This Package

  • Consider it if the product runs on PHP 8+ and Laravel, and the team is ready to use PHP 8 attributes rather than annotations for entity serialization/exposure behavior.
  • Consider it when the API layer needs a lightweight serializer, result-set handling, and editable-property metadata without building a custom attribute reader.
  • Consider it if migration from Gedmo SortablePosition, JMS Expose, and Symfony Ignore annotations to attributes is already planned or acceptable.
  • Look elsewhere if the system depends on annotation-based configuration, supports PHP versions without attributes, or needs serializer behavior that does not require a breaking migration.
  • Look elsewhere if the product requires broader serializer integrations without replacing existing annotation-driven mappings.

How to Pitch It (Stakeholders)

  • Executive summary: this release modernizes entity serialization by using PHP 8 attributes and removes annotation support. It reduces reliance on legacy annotation tooling and aligns the API layer with current PHP practices, but it is a breaking change that requires planned migration and regression testing.
  • Engineering summary: version 1.2.0 is a breaking release. Update constructors to remove annotation reader arguments, migrate Gedmo/JMS/Symfony annotations to PHP 8 attributes, and validate the fixed caching behavior for attribute-tagged properties in MinimalEntitySerializer and EntityPropertyEditabilityMap.
  • Adoption recommendation: proceed only if the product is already committed to PHP 8 attributes; otherwise pin an older version until migration scope and timing are agreed.
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.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels