Repository navigation
SMSApi v2: multi-driver panels + messengers, manual audit fixes - #2
Merged
Merged
Conversation
Migrate to sms.ir API v1 and add panel drivers (Kavenegar, Ghasedak, Farazsms, IPPanel, Magfa, Niksms, payamak-panel family, sms-webservice V3, Avanak). Live tests live under @group sandbox, load credentials from .env.sandbox, and skip when keys are missing. Unit coverage includes the official sms.ir sandbox verify payload (template 123456 / Code). Co-authored-by: Ali Zeinodin <alizeinodin@users.noreply.github.com>
Surface return.message from Kavenegar failures, and require only api_key + template for sandbox verify/lookup (line_number optional). Co-authored-by: Ali Zeinodin <alizeinodin@users.noreply.github.com>
- Fix Ghasedak (optional linenumber, agent query, accountInfo, errors) - Fix IPPanel/Farazsms apikey header + webservice payload - Fix Mediana AccessKey + /v1/messages; LimoSMS /api/sendsms - Add messenger drivers (Telegram, WhatsApp, Bale, Eitaa, …) - Add official SDK contract tests and endpoint reachability checks Co-authored-by: Ali Zeinodin <alizeinodin@users.noreply.github.com>
Align LICENSE with composer MIT, add SmsManager/Facade for Laravel DX, fix WhatsApp local-to-international number formatting, and document v2 breaking changes in CHANGELOG. Co-authored-by: Ali Zeinodin <alizeinodin@users.noreply.github.com>
Gap now sends required type=text; API errors surface description/error fields; iGap default host documented as NXDOMAIN; expand reachability and Gap contract tests. Co-authored-by: Ali Zeinodin <alizeinodin@users.noreply.github.com>
WhatsApp Cloud templates, Messenger messaging_type/tag options, Slack blocks / Discord embeds / LINE empty-body handling, and contract tests covering the manually exercised foreign drivers. Co-authored-by: Ali Zeinodin <alizeinodin@users.noreply.github.com>
Co-authored-by: Ali Zeinodin <alizeinodin@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Manual feature audit of every registered panel + messenger driver, plus foreign-messenger completeness fixes for publish readiness.
Manual test results
DriverRegistrybot.igap.netNXDOMAIN (documented experimental)Fixes from audit
sendTemplate()(name + language + body components)messaging_type/tag/notification_typeoptionstype=text, richer API error extraction (prior commits)Foreign messengers completeness
These are send adapters, not full bot SDKs (no webhooks/media pipelines). After fixes:
Test plan
vendor/bin/phpunit --exclude-group sandbox(40 tests, 1 skip Rubika)