PHPackages                             haggag/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. [Mail &amp; Notifications](/categories/mail)
4. /
5. haggag/mobily.ws

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

haggag/mobily.ws
================

Laravel Mobily.ws SMS

01PHPCI failing

Since Nov 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/MahmoudSaidHaggag/mobily.ws)[ Packagist](https://packagist.org/packages/haggag/mobily.ws)[ RSS](/packages/haggag-mobilyws/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)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 alhoqhbani\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

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d8878cb195a9c7ab67015ad3df7ecadefad07ec8ccb33992abd038d296298fd0?d=identicon)[haggag](/maintainers/haggag)

---

Top Contributors

[![mahmoudhaggag641](https://avatars.githubusercontent.com/u/17066788?v=4)](https://github.com/mahmoudhaggag641 "mahmoudhaggag641 (2 commits)")

### Embed Badge

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

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

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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