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

Api Platform Messenger Laravel Package

sroze/api-platform-messenger

Integrates Symfony Messenger with API Platform so create, update, and delete operations are dispatched as messages to a bus instead of handled inline. Route resource persistence through message handlers, run writes asynchronously, and keep your API resources thin with clean, CQRS-style separation.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • API-first internal tooling: Expose domain commands and queries as HTTP endpoints so product teams can ship admin actions, back-office workflows, and internal automation without writing one controller per operation.
  • CQRS adoption: Make command/query separation tangible at the API boundary, helping teams standardize how writes and reads are modeled, routed, validated, and dispatched.
  • Build vs. buy for thin API adapters: If the organization already uses Symfony, API Platform, and Messenger, this package can replace a small custom controller/adapter layer. If not, the integration cost likely exceeds the benefit.
  • Roadmap discovery: Useful as a spike/reference for products considering Symfony-based microservices, internal service APIs, or message-bus-driven architectures.
  • Low-risk internal use cases: Suitable for prototypes, internal dashboards, operational commands, and non-critical integration endpoints where a small OSS dependency is acceptable.
  • Not a fit for Laravel-first products: Despite being PHP, this is Symfony/API Platform-specific. For a Laravel roadmap, it should not drive product or architecture decisions unless a Symfony service is already in scope.

When to Consider This Package

  • Consider it when the stack already runs Symfony + API Platform + Symfony Messenger and the team wants to expose commands/queries over HTTP with minimal custom controller code.
  • Consider it for internal APIs, back-office operations, and bounded-context services where CQRS-style message dispatch is already an accepted pattern.
  • Consider it only after a short proof of concept covering authentication, authorization, validation, error mapping, async behavior, observability, and API documentation.
  • Consider it if the team can vendor/fork or wrap the package and accepts ownership of a small, low-adoption dependency.
  • Look elsewhere for Laravel applications, teams without Symfony Messenger/API Platform expertise, customer-facing high-SLA APIs, strict long-term support requirements, or products needing mature community support and ecosystem depth.
  • Treat the 31-star adoption level as a maintenance and bus-factor risk; do not make it a critical dependency without an exit plan.

How to Pitch It (Stakeholders)

  • Executive summary: This package can accelerate delivery of internal Symfony APIs by exposing commands and queries directly through API Platform and routing them to Symfony Messenger. It reduces boilerplate for teams already invested in that stack.
  • Product value: Faster iteration on internal tools and service APIs, clearer alignment between API endpoints and domain operations, and less custom plumbing for command/query dispatch.
  • Engineering value: Reuses existing Messenger buses, supports CQRS-oriented design, and keeps HTTP exposure thin rather than embedding business logic in controllers.
  • Key risks: It is Symfony-specific, not Laravel-friendly; adoption is very small; maintenance and long-term support are uncertain; production use requires additional work around security, validation, errors, and observability.
  • Recommendation: Run a time-boxed spike only if the team is already on Symfony/API Platform/Messenger. Do not adopt as a strategic dependency for Laravel or business-critical APIs without a fork/vendor plan.
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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package