PHPackages                             ayarse/msgowl-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ayarse/msgowl-php

ActiveLibrary[API Development](/categories/api)

ayarse/msgowl-php
=================

Unofficial PHP SDK for the MsgOwl SMS &amp; OTP API

v1.0.0(4mo ago)0107MITPHPPHP ^8.2

Since Feb 27Pushed 4mo agoCompare

[ Source](https://github.com/ayarse/msgowl-php)[ Packagist](https://packagist.org/packages/ayarse/msgowl-php)[ Docs](https://github.com/ayarse/msgowl-php)[ RSS](/packages/ayarse-msgowl-php/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (2)Used By (0)

MsgOwl PHP SDK
==============

[](#msgowl-php-sdk)

Unofficial PHP SDK for the [MsgOwl](https://www.msgowl.com) SMS &amp; OTP API. Works as a standalone PHP library or with Laravel.

Requirements
------------

[](#requirements)

- PHP 8.2+

Installation
------------

[](#installation)

```
composer require ayarse/msgowl-php
```

Quick Start
-----------

[](#quick-start)

```
use MsgOwl\MsgOwl;

$msgowl = new MsgOwl(
    restAccessKey: 'your-rest-api-key',
    otpAccessKey: 'your-otp-api-key', // optional, only needed for OTP
);

// Send an SMS
$msgowl->messages()->send('9601234567', 'MyApp', 'Hello from MsgOwl!');

// Send and verify an OTP
$otp = $msgowl->otp()->send('9601234567');
$result = $msgowl->otp()->verify('9601234567', '352682');
```

Documentation
-------------

[](#documentation)

- [Vanilla PHP Usage](docs/vanilla-php.md) -- standalone usage with full API examples
- [Laravel Usage](docs/laravel.md) -- facade, dependency injection, and config setup

Available Resources
-------------------

[](#available-resources)

MethodResourceDescription`balance()``BalanceResource`Check account balance`messages()``MessageResource`Send, list, and fetch messages`groups()``GroupResource`CRUD operations on groups`contacts()``ContactResource`CRUD operations on contacts`senderIds()``SenderIdResource`List registered sender IDs`otp()``OtpResource`Send, resend, and verify OTPsException Classes
-----------------

[](#exception-classes)

ExceptionHTTP StatusDescription`RateLimitedException`429Rate limit exceeded. Has `retryAfter`, `rateLimitLimit`, `rateLimitRemaining`, `rateLimitReset` properties.`ValidationException`422Invalid request data (e.g., bulk limit exceeded).`MsgOwlException`4xx / 5xxBase exception for all other API errors.Disclaimer
----------

[](#disclaimer)

This package is not affiliated with, endorsed by, or associated with MsgOwl or OXIQA Pvt Ltd. It was created for personal use.

License
-------

[](#license)

MIT

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance77

Regular maintenance activity

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

125d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1739113?v=4)[ayaz](/maintainers/ayarse)[@ayarse](https://github.com/ayarse)

---

Top Contributors

[![ayarse](https://avatars.githubusercontent.com/u/1739113?v=4)](https://github.com/ayarse "ayarse (6 commits)")

---

Tags

apilaravelsdkotpsmsmsgowl

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/ayarse-msgowl-php/health.svg)

```
[![Health](https://phpackages.com/badges/ayarse-msgowl-php/health.svg)](https://phpackages.com/packages/ayarse-msgowl-php)
```

###  Alternatives

[saloonphp/laravel-plugin

The official Laravel plugin for Saloon

807.1M201](/packages/saloonphp-laravel-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
