PHPackages                             abdullahobaid/mobilywslaraval - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. abdullahobaid/mobilywslaraval

ActivePackage[HTTP &amp; Networking](/categories/http)

abdullahobaid/mobilywslaraval
=============================

A package to send SMS using Mobily.ws API

1.2.0(9y ago)115.8k↓50%3waqfPHPPHP &gt;=5.3.0

Since Oct 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/AbdullahObaid/Mobilyws-Laraval)[ Packagist](https://packagist.org/packages/abdullahobaid/mobilywslaraval)[ RSS](/packages/abdullahobaid-mobilywslaraval/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (2)Used By (0)

Description
===========

[](#description)

A Laraval Package to send SMS using mobily.ws by using it's API and cURL. It uses UTF-8 endconding for the SMS.

Table of Contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [License](#License)
- [Essentials](#essentials)

Features
--------

[](#features)

- Supports Laravel 5.\*
- Supports sending messages directly
- Supports sending messages at a certain date/time
- Supports sending messages to multiple numbers at once
- `new` Supports any number format see [Usage](#usage)
- Requires an active  account
- cURL
- php &gt;=5.3.0

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

[](#installation)

Install with composer by running `composer require abdullahobaid/mobilywslaraval:dev-master`
Composer will download and install the package. After the package is downloaded, open `config/app.php` and add the service provider and alias as below:

```
'providers' => array(
    ...
    abdullahobaid\mobilywslaraval\MobilywsProvider::class,
),
.
.
.
'aliases' => array(
    ...
    'Mobily'    => abdullahobaid\mobilywslaraval\Mobily::class,
),

```

Publish the configuration file by running the following Artisan command.

```
$ php artisan vendor:publish --provider="abdullahobaid\mobilywslaraval\MobilywsProvider"
```

Finally, you need to edit the configuration file at `config/mobilysms.php` with your own mobily.ws account info

```
return [
    'sender'     => '', // Mobily.ws Sender Name
    'mobile'     => '', // Mobily.ws Account Mobile (Username)
    'password'   => '', // Mobily.ws Password
    'deleteKey'  => 541235,
    'resultType' => 1,
    'viewResult' => 1,
    'MsgID'      => rand(00000,99999),
];
```

Usage
-----

[](#usage)

### Use any number format

[](#use-any-number-format)

Mobily.ws requires the number to be formated as international number without trailing zeros, but this Package can handle differnt number formats.

You can pass a single number or array of numbers, see examples below:

- The number can be sent with trailing zeros 00966555555555
- With trailing plus sign +966555555555
- International number without trailing zeros 966555555555
- Even you can use the mobile number without international code - for Saudi Mobile Numbers Only - 0555555555 , the package will take care of formatting the number.

### Send SMS message directly

[](#send-sms-message-directly)

Will send the message directly to the number

```
Mobily::send(966555555555, 'Your Message Here');
```

Returns `true` if the message is sent, `false` if not.

### Send SMS to Multiple Numbers

[](#send-sms-to-multiple-numbers)

Pass an array of numbers instead of a single number to send to all of them

```
$numbers = array('966555555555','966545555555','966565555555');
Mobily::send($numbers, 'Your Message Here');
```

Returns `true` if the message is sent, `false` if not.

### Send SMS message at a certain date/time

[](#send-sms-message-at-a-certain-datetime)

Will send the message in a desired date and time

```
Mobily::send(966555555555, 'Your Message Here', $date, $time);
```

##### note

[](#note)

- Date format `mm/dd/yyyy`
- Time format `hh:mm:ss`
- Returns `true` if the message is sent, `false` if not.

### Check the current Balance

[](#check-the-current-balance)

```
Mobily::Balance();
```

Returns user's balance.

### Get number of SMS messages a text requires

[](#get-number-of-sms-messages-a-text-requires)

```
Mobily::count_messages($text);
```

### Override default sender name

[](#override-default-sender-name)

```
Mobily::send(966555555555, 'Your Message Here', $date=0, $time=0,'Sender Name');
```

Note that the new sender should be registered and activate at mobily.ws website

License
-------

[](#license)

Waqf General Public Licens

Essentials
----------

[](#essentials)

- [Laravel](https://laravel.com)
- [Mobily.ws API Refrence](https://www.mobily.ws/en/api-scripts.html)
- Follow me on Twitter [@mobde3](https://twitter.com/mobde3/)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.3% 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

3498d ago

### Community

Maintainers

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

---

Top Contributors

[![AbdullahObaid](https://avatars.githubusercontent.com/u/1207636?v=4)](https://github.com/AbdullahObaid "AbdullahObaid (29 commits)")[![kossa](https://avatars.githubusercontent.com/u/1175584?v=4)](https://github.com/kossa "kossa (5 commits)")[![bellalMohamed](https://avatars.githubusercontent.com/u/18222754?v=4)](https://github.com/bellalMohamed "bellalMohamed (2 commits)")[![alqahtani](https://avatars.githubusercontent.com/u/226227?v=4)](https://github.com/alqahtani "alqahtani (1 commits)")[![IsmailShurrab](https://avatars.githubusercontent.com/u/15612049?v=4)](https://github.com/IsmailShurrab "IsmailShurrab (1 commits)")

---

Tags

laravelmobily.ws

### Embed Badge

![Health badge](/badges/abdullahobaid-mobilywslaraval/health.svg)

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

###  Alternatives

[anchu/ftp

A simple Laravel 7 ftp service provider

225579.4k](/packages/anchu-ftp)[palanik/lumen-cors

Cross-origin resource sharing (CORS) middleware for Lumen micro-framework.

101237.4k](/packages/palanik-lumen-cors)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[laravel-shift/curl-converter

A command line tool to convert curl requests to Laravel HTTP requests.

935.3k](/packages/laravel-shift-curl-converter)[alfrasc/laravel-matomo-tracker

A Laravel facade/wrapper for the matomo/matomo-php-tracker for server side Matomo tracking.

1923.9k](/packages/alfrasc-laravel-matomo-tracker)[behamin/service-proxy

for proxy or sending requests to other services with useful utilities

102.2k](/packages/behamin-service-proxy)

PHPackages © 2026

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