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

Nativephp Sms Reader Bridge Laravel Package

sparkworldke/nativephp-sms-reader-bridge

NativePHP SMS Reader Bridge integrates NativePHP with Laravel to let your app read SMS messages from the device inbox. It provides a straightforward API for querying messages and building SMS-powered features such as verification, notifications, and message-based workflows.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Android SMS ingestion features: Enables product capabilities that depend on reading or reacting to SMS on Android devices built with NativePHP Mobile—OTP/2FA autofill, transaction and expense parsing from bank alerts, delivery/order status tracking, customer-support thread capture, and inbound lead or campaign-response logging.
  • Event-driven mobile workflows: The SmsReceived event plus JS bridge and TypeScript definitions support near-real-time product flows such as auto-verifying a one-time code, enriching a CRM record, or triggering an in-app action when a message arrives.
  • Build vs. buy: This is a thin Laravel/NativePHP bridge over Android SMS APIs, not a full messaging platform. It can reduce native bridge work for an Android-only MVP, but the team still owns consent UX, Play Store policy compliance, data retention, and security review.
  • Roadmap sequencing: Appropriate for a discovery/POC or internal Android tool first. Production rollout should be gated on Packagist availability, Play policy review, privacy assessment, and a maintainer-continuity plan because this is a fork with a single-package release history.
  • Feature scoping: Folder filters (inbox, sent, draft, outbox, queued, failed, spam), sender filtering, since, and limit parameters map directly to product needs—e.g., “only bank senders,” “only messages after onboarding,” or “inbox only for OTP.” Multi-part SMS reconstruction matters for long transactional messages.
  • Platform prioritization: The package is Android-specific. It should not drive an iOS roadmap assumption; cross-platform SMS-reading parity is not available through this package.

When to Consider This Package

Consider it when:

  • The product is an Android-only NativePHP Mobile app and SMS reading is a core or clearly bounded feature.
  • The use case fits an allowed Google Play SMS permission scenario—for example, SMS-based OTP verification where the app is not the default SMS handler but qualifies under policy, or internal/enterprise distribution where Play policy is not the constraint.
  • The team is on Laravel 11, 12, or 13 and NativePHP Mobile 3 or 4, matching the stated compatibility.
  • You need a Laravel-native API (SmsReader::getMessages(), getMessagesForSenders()) and an incoming-SMS event rather than a custom native module.
  • You are willing to own the fork risk: review the upstream project, pin versions, monitor the repository, and maintain an internal patch path.
  • You can complete runtime permission handling (READ_SMS / RECEIVE_SMS) with clear consent UX and a privacy review before collecting or transmitting message content.

Look elsewhere when:

  • You need iOS or cross-platform SMS access; this package does not address that.
  • You plan consumer Play Store distribution without confirming that your core functionality qualifies for READ_SMS/RECEIVE_SMS. Google restricts these permissions heavily, and policy rejection is a product-level risk, not just an engineering one.
  • You require enterprise support, SLAs, or a mature vendor relationship; this is a first release of a fork.
  • You cannot accept Packagist installation friction—the release notes state the package must be submitted to Packagist before composer require works normally.
  • The feature involves highly sensitive message content without a clear legal basis, retention policy, and user consent model.
  • Your team is not prepared to audit and maintain a relatively young package or its upstream.

How to Pitch It (Stakeholders)

For executives: This package gives our Android app a fast way to read and react to SMS—useful for OTP verification, transaction tracking, and customer-response workflows—without building a native Android bridge from scratch. It is a first release of a fork, so I recommend funding a short proof of concept, not a broad production commitment yet. The main risks are Google Play’s restrictions on SMS permissions, user privacy and consent, and long-term maintenance of a single-maintainer package. The decision to approve should be tied to a specific Android-only use case and a policy/compliance check.

For engineering: The package exposes a Laravel-friendly API for querying messages with sender, limit, since, and folder filters, plus a SmsReceived event, JavaScript bridge, and TypeScript definitions. It handles Android runtime permissions for READ_SMS/RECEIVE_SMS and reconstructs multi-part SMS. It targets Laravel 11–13 and NativePHP Mobile 3–4. Key engineering tasks before adoption: verify Packagist availability, pin the version, review the fork diff against upstream atendwa/nativephp-sms-reader, test permission-denied and empty-inbox states, validate multi-part reconstruction with real carrier messages, and define a fallback if the package is abandoned.

Recommendation: Treat v1.0.0 as a promising POC candidate for Android SMS workflows. Proceed to a time-boxed spike with a privacy and Play-policy review; defer production dependency until installation, maintenance, and compliance risks are resolved.

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.
skyraptor/chatter
edlugz/sasapay
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