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

Ami React Laravel Package

clue/ami-react

Async Asterisk Manager Interface (AMI) client built on ReactPHP. Connect over TCP, send actions like Originate or CoreShowChannels, and handle responses and events asynchronously via promises, with a simple event-driven API for monitoring calls and channels in real time.

Deep Wiki
Context7

Product Decisions This Supports

  • Real-time telephony features: Enables live call, queue, agent-state, and channel-event visibility for Asterisk-backed contact centers or support operations. PM can scope features such as screen-pop, queue SLA alerts, agent presence sync, and live operational dashboards without commissioning a custom AMI protocol client.
  • Build vs. buy: This is an adoptable MIT-licensed building block rather than a full product. It can reduce initial engineering effort for streaming AMI access, but the low adoption signal—84 stars and a modest package score—means the decision should include a maintenance and exit-plan review, not just a feature-fit review.
  • Roadmap sequencing: Best suited to an incremental roadmap item: prove real-time call intelligence in one Asterisk environment, then expand to multi-queue or multi-tenant use cases only after operational confidence.
  • Architecture direction: Supports an event-driven worker model in a Laravel/PHP estate, typically as an Artisan command or supervised daemon, rather than synchronous request/response telephony polling. PM should explicitly fund worker supervision, reconnection behavior, secrets management, and observability.
  • Use cases: Contact-center wallboards, CRM call-context enrichment, missed-call and queue-threshold alerting, agent-state synchronization, and event-driven call logging.

When to Consider This Package

Consider it when:

  • The team is PHP/Laravel-based and has, or is willing to build, competency with ReactPHP-style long-running processes.
  • The product needs streaming AMI events, not merely periodic polling or post-call CDR ingestion.
  • The Asterisk footprint is relatively contained—one or a few PBXs—and event volume is modest to moderate.
  • The organization accepts open-source support risk and can assign ownership for upgrades, monitoring, and potentially forking.
  • MIT licensing and self-hosting align with procurement and security constraints.
  • Engineering can isolate the integration behind an internal interface so the AMI client is replaceable.

Look elsewhere when:

  • The product requires vendor SLA, managed telephony, or 24/7 supported integration.
  • The team lacks async/event-loop operational experience and has no appetite to build it.
  • Scale is high, multi-tenant, or mission-critical from day one.
  • A higher-level platform—Twilio, FreeSWITCH, Asterisk ARI/REST, or a contact-center platform—better matches the use case.
  • Simple polling or batch CDR processing is sufficient.
  • The team expects a batteries-included Laravel package with configuration, facades, migrations, and first-party Laravel conventions; this is a lower-level library.
  • There is no capacity to own a small-community dependency in production.

How to Pitch It (Stakeholders)

For executives: This package is a low-cost accelerator for real-time Asterisk visibility. It can shorten delivery of live call, queue, and agent-state features without building an AMI protocol client from scratch. The trade-off is dependency risk: adoption is small, so approve it as a validated prototype with a clear fallback rather than as an unexamined strategic platform.

For engineering: It provides streaming, event-driven AMI access on ReactPHP, which fits a supervised PHP worker model. It is not a Laravel-native package, so plan for daemon lifecycle, reconnect/backoff, authentication, structured logging, metrics, and integration tests against a mock or staging AMI. Wrap it behind an internal adapter to preserve an exit path.

Recommendation: Run a time-boxed spike against a real Asterisk environment, measure event reliability and operational overhead, and adopt only if the team can own the worker and the dependency. Otherwise, use it as a reference implementation or choose a more supported telephony integration.

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.
unabomber/timezone
delatbabel/contacts
astritzeqiri/g-recaptcha
kevinongko/laravel-genode
developeruz/laravel-analytics
robbiep/afterthedeadline
frankkessler/incontact-laravel-oauth2-rest
jlxh/laravel-userlog
davidmgilo/timetables
qylinfly/role-permission
reflect-digital/conduit
takashato/laravel-vietqr
aitor24/laralang
kraenzle-ritter/entity-relations
dindigital/din-image
pomirleanu/image-colors
sawmainek/laravel-api-generator
delatbabel/jsonresponses
mouhamedfd/permissions-generator
eduplus/qr