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

Client Laravel Package

nexmo/client

Nexmo Client is the legacy PHP SDK for sending SMS, making voice calls, and managing Nexmo/Vonage APIs. It provides simple authentication and request helpers for PHP apps, though new projects should use the maintained Vonage client.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for transactional messaging. This package is the integration seam for a CPaaS vendor (Nexmo, now Vonage). It lets the team buy SMS/voice/verify capability instead of building carrier relationships, number provisioning, or delivery infrastructure — a decision that typically saves quarters of engineering time.
  • Feature bets that depend on outbound communication: two-factor authentication (Verify API), OTP login, password reset, order/shipping alerts, appointment reminders, and voice fallback when SMS fails.
  • Roadmap sequencing for trust & safety and growth. 2FA and account verification are prerequisites for higher-risk features (payments, PII access, marketplace onboarding). This package unblocks those gates.
  • International expansion decisions. The underlying API covers 200+ countries; the PM can evaluate whether a market launch is feasible on messaging reach before committing to localization work.
  • Vendor and cost modeling. Per-message and per-verification pricing feeds into unit economics for any feature that sends messages at volume; the PM can model CAC/LTV impact of OTP costs.
  • Dependency-floor planning for legacy estates. The 2.4.0 release moves the minimum to PHP 7.2 and Guzzle 7.0. That is a planning input for any app still on PHP 7.0/7.1 or pinned to Guzzle 6 — it sets the upgrade cost of keeping the legacy path alive versus migrating.
  • Caveat for the specific artifact: nexmo/client is a thin wrapper over nexmo/client-core plus an HTTP client. 2.4.0 is a maintenance release only (dependency floors), with no features or security content. Treat it as a signal of a real capability need, not as the recommended dependency. Decisions should be made against its successor, vonage/client.

When to Consider This Package

Consider it when:

  • You are maintaining a legacy Laravel/PHP application that already imports nexmo/client and need to understand, patch, or freeze that dependency safely. On PHP 7.2+ and Guzzle 7, 2.4.0 is the version to pin.
  • You need a quick proof-of-concept for SMS or Verify in PHP and want the smallest possible surface area (the wrapper just pulls in the core SDK and an HTTP client).
  • You are auditing an existing codebase and need to identify what a transitive nexmo/client dependency is actually doing.

Look elsewhere when:

  • Starting anything new. Use vonage/client (the maintained successor). The Nexmo brand is retired; 2.4.0 is a dependency bump, not a revival — no roadmap, no security process.
  • You need webhook handling, Laravel notifications, or queue integration. Prefer framework-specific packages or the modern SDK plus your own controller layer — this wrapper adds nothing there.
  • You care about dependency hygiene. 2.4.0 removes one friction point — Guzzle 7 is now supported, so it no longer forces a Guzzle 6 pin — but the package still has minimal adoption, no published PHP 8.x support statement, and no upstream feature work. It remains a liability to build on.
  • You want a strategic vendor relationship. Evaluating CPaaS providers (Twilio, Vonage, MessageBird, AWS SNS) is a sourcing decision, not an SDK decision — the SDK should follow the vendor choice, not drive it.

How to Pitch It (Stakeholders)

For executives: We need outbound messaging — SMS verification codes, alerts, and voice fallback — to ship 2FA and account-verification features that gate higher-value functionality. Buying this from a CPaaS provider is dramatically cheaper and faster than building it. The library in front of us is the legacy Nexmo SDK; it proves the integration pattern works but should not be adopted for new work. A recent maintenance release only raised its PHP and Guzzle floors — useful housekeeping, not a sign of active investment. Recommendation: approve the vendor decision (Vonage or a competitor), and fund a small migration to the maintained vonage/client SDK rather than building on a retired dependency.

For engineering: nexmo/client is a wrapper that pulls in nexmo/client-core and an HTTP client — no business logic of its own. Version 2.4.0 bumps the minimum to PHP 7.2 and Guzzle 7.0: good news if Guzzle 6 was blocking you, and a hard floor if anything in the tree is still on PHP 7.0/7.1. There is no feature or security content in the release, and no PHP 8.x declaration. If it is already in the tree, pin to 2.4.0 and isolate it behind our own messaging interface so we can swap the transport without touching call sites. If it is not yet in the tree, go straight to vonage/client; the API surface (SMS, Verify, Voice, Number Insight) is essentially the same, so the migration is mostly a namespace and dependency swap.

For product/design: The capability unlocks verification flows, notification channels, and international reach. The SDK choice is invisible to users — but delivery latency, per-country deliverability, and fallback behavior (SMS → voice) are user-visible and should be specified at the product level, not left to the integration. Nothing in the 2.4.0 release changes that scope.

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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
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