PHPackages                             alhoqbani/mobily.ws - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. alhoqbani/mobily.ws

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alhoqbani/mobily.ws
===================

Laravel Mobily.ws SMS

0.2.0(9y ago)544MITPHPPHP &gt;=7.0CI failing

Since Apr 18Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/alhoqbani/mobily.ws)[ Packagist](https://packagist.org/packages/alhoqbani/mobily.ws)[ RSS](/packages/alhoqbani-mobilyws/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (5)Versions (3)Used By (0)

[![Total Downloads](https://camo.githubusercontent.com/0ed10b6ef05fb3d093805da4ea0b920ab7edfc8c253d641c7d34b90a4047b4c2/68747470733a2f2f706f7365722e707567782e6f72672f616c686f7162616e692f6d6f62696c792e77732f646f776e6c6f616473)](https://packagist.org/packages/alhoqbani/mobily.ws)[![stabel version](https://camo.githubusercontent.com/c506f02edce5c4428322ba03973ac8b24e19b15c799f27a8908c8f6b59797e98/68747470733a2f2f706f7365722e707567782e6f72672f616c686f7162616e692f6d6f62696c792e77732f76657273696f6e)](https://packagist.org/packages/alhoqbani/mobily.ws)[![license](https://camo.githubusercontent.com/c846f4cf87feb9273054dfff3448889e12a8708e344694e40f2b9afb4a21ce1d/68747470733a2f2f706f7365722e707567782e6f72672f616c686f7162616e692f6d6f62696c792e77732f6c6963656e7365)](https://packagist.org/packages/alhoqbani/mobily.ws)[![Build Status](https://camo.githubusercontent.com/367e1ae6fcc4ff2b63209660ad1aaa3af0fc9f52d1c57964914dd52a1c215de6/68747470733a2f2f7472617669732d63692e6f72672f616c686f7162616e692f6d6f62696c792e77732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/alhoqbani/mobily.ws)

Laravel SMS Library
-------------------

[](#laravel-sms-library)

Under Development, **Not ready for production**.

This is a Laravel package to send SMS using .

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

[](#installation)

1. Install the package using Composer:

```
composer require alhoqbani\mobily.ws

```

2. After updating composer, add the ServiceProvider to the providers array in `config/app.php`

```
        Alhoqbani\MobilyWs\MobilyWsServiceProvider::class,

```

3. Publish the configuration file using:

```
php artisan vendor:publish --provider='Alhoqbani\MobilyWs\MobilyWsServiceProvider'

```

4. In your `.env` file add your mobily.ws login details

```
MOBILY_WS_MOBILE=
MOBILY_WS_PASSWORD=
MOBILY_WS_SENDER=

```

Usage
-----

[](#usage)

```
use Alhoqbani\MobilyWs\SMS;

   $sms = new SMS();

    $sms->text('This is an SMS from Mobily.ws')
        ->to('9665xxxxxxxx')
        ->send();

    echo $sms->result(); // تمت عملية الإرسال بنجاح

    echo $sms->balance(); // 1124

```

For now, numbers should be entered with the country code without leading zeros or +

### Multiple Recipients:

[](#multiple-recipients)

You can also pass an array of numbers to the `to()` method.

```
$sms->to(['9665xxxxxxxx', '9665xxxxxxxx']);

```

### Defered SMS

[](#defered-sms)

You can define the time to send the message by calling `when();`it takes two arguments, date and time. you can pass null to either.

`Format must be: dd/mm/yyyy, hh:mm:ss`

```
    $sms->text('This is an SMS from Mobily.ws')
        ->to('9665xxxxxxxx')
        ->when('10/25/2030', 06:30:00')
        ->send();

```

### Other Functions:

[](#other-functions)

`removeDuplicate()` Will remove all duplicate numbers and send notRepeat key to mobily.ws `domain()` Adds the domainName to the sent sms.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance43

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

Every ~1 days

Total

2

Last Release

3357d ago

PHP version history (2 changes)0.1.0PHP &gt;=7.1

0.2.0PHP &gt;=7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17808656?v=4)[Hamoud Alhoqbani](/maintainers/alhoqbani)[@alhoqbani](https://github.com/alhoqbani)

---

Top Contributors

[![alhoqbani](https://avatars.githubusercontent.com/u/17808656?v=4)](https://github.com/alhoqbani "alhoqbani (32 commits)")

---

Tags

laravelmobilysmslaravelsmsmobily.ws

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alhoqbani-mobilyws/health.svg)

```
[![Health](https://phpackages.com/badges/alhoqbani-mobilyws/health.svg)](https://phpackages.com/packages/alhoqbani-mobilyws)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

42010.0k](/packages/venturedrake-laravel-crm)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nativephp/mobile

NativePHP for Mobile

1.0k55.0k87](/packages/nativephp-mobile)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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