Skip to content

feat: add Community Ads SMS provider - #23

Merged
ahmadalfy merged 1 commit into
RobustaStudio:masterfrom
yousra-ashraf:feature/add-community-ads-driver
Sep 1, 2026
Merged

feat: add Community Ads SMS provider#23
ahmadalfy merged 1 commit into
RobustaStudio:masterfrom
yousra-ashraf:feature/add-community-ads-driver

Conversation

@yousra-ashraf

Copy link
Copy Markdown
Contributor

Summary

Adds Community Ads as a first-class SMS driver in Resala, following the same pattern as existing providers (config, driver, response mapping, env stub, and artisan resala:make).

This lets Laravel/PHP apps send SMS through Community Ads without custom HTTP glue. Recipients can be a single number or a comma-separated list. Gateway numeric status codes are mapped to readable success/error messages.

Changes

  • CommunityAdsDriver — JSON POST to SendSMS (SMSText, SMSReceiver, SMSSender, SMSLang, credentials, unique SMSID)
  • CommunityAdsResponse — parse numeric status (0 = success) and map known error codes
  • Register community_ads in config/resala.php and document it in the README
  • Env stub + php artisan resala:make community_ads

Config / env

php artisan resala:make community_ads

@ahmadalfy
ahmadalfy merged commit 264c457 into RobustaStudio:masterSep 1, 2026
1 check passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@yousra-ashraf@ranaramezrb@ahmadalfy