PHPackages                             mimisk13/laravel-easysms - 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. mimisk13/laravel-easysms

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

mimisk13/laravel-easysms
========================

A Laravel package for integrating EasySMS.

v1.0.0(1y ago)13MITPHP

Since Nov 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/MimisK13/laravel-easysms)[ Packagist](https://packagist.org/packages/mimisk13/laravel-easysms)[ Docs](https://github.com/mimisk13/laravel-easysms)[ RSS](/packages/mimisk13-laravel-easysms/feed)WikiDiscussions main Synced 1mo ago

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

LaravelEasysms
==============

[](#laraveleasysms)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d875c1bd2cd11988ff6ae6ca83b01cc1f30c4e3efe39532a060883c9abe9586d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d696d69736b31332f6c61726176656c2d65617379736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mimisk13/laravel-easysms)[![Total Downloads](https://camo.githubusercontent.com/e6da51ef89f8016f2f82d39161c2d4ab50f43e932ce2d8d9ae6b6cf592f97677/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d696d69736b31332f6c61726176656c2d65617379736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mimisk13/laravel-easysms)[![StyleCI](https://camo.githubusercontent.com/700bf97ff51cdeeb26a3c735a0f6156175a130011ad5541943e726461dbcbcd2/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3838323831393536372f736869656c64)](https://github.styleci.io/repos/882819567)

This is where your description should go. Take a look at [CONTRIBUTING.md](CONTRIBUTING.md) to see a to do list.

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

[](#installation)

Via Composer

```
composer require mimisk13/laravel-easysms
```

### Publishing the Configuration File

[](#publishing-the-configuration-file)

To publish the configuration file for `laravel-easysms`, run the following command:

```
php artisan vendor:publish --tag=easysms.config
```

### Environment Settings (.env)

[](#environment-settings-env)

Before using the package, make sure to add the necessary settings to your .env file:

```
EASY_SMS_API_KEY=your_api_key_here

# optional
EASY_SMS_SMS_URL=https://easysms.gr/api/sms/send
EASY_SMS_VIBER_URL=https://easysms.gr/api/viber/send
EASY_SMS_BALANCE_URL=https://easysms.gr/api/me/balance
EASY_SMS_MOBILE_CHECK_URL=https://easysms.gr/api/mobile/check
```

Usage
-----

[](#usage)

Here are examples of how to use the core functionalities of the `laravel-easysms` package.

### 1. Sending an SMS

[](#1-sending-an-sms)

To send an SMS, you can use the `send` method, specifying the channel as `'sms'` (default).

```
use Mimisk13\LaravelEasySMS\Facades\EasySMS;

$smsResult = EasySMS::send('+1234567890', 'This is an SMS message');

if ($smsResult) {
    echo "SMS sent successfully!";
} else {
    echo "Failed to send SMS.";
}
```

### 2. Sending a Viber Message

[](#2-sending-a-viber-message)

To send a Viber message, specify the channel as 'viber' in the send method.

```
use Mimisk13\LaravelEasySMS\Facades\EasySMS;

$viberResult = EasySMS::send('+1234567890', 'This is a Viber message', 'viber');

if ($viberResult) {
    echo "Viber message sent successfully!";
} else {
    echo "Failed to send Viber message.";
}
```

### 3. Checking Balance

[](#3-checking-balance)

You can check your account balance on easysms.gr using the getBalance method. This method returns your current balance details.

```
use Mimisk13\LaravelEasySMS\Facades\EasySMS;

$balance = EasySMS::getBalance();

if ($balance && $balance['status'] == 1) {
    echo "Current balance: " . $balance['amount'];
} else {
    echo "Failed to retrieve balance.";
}
```

### 4. Mobile Number Verification

[](#4-mobile-number-verification)

Use the mobile method to check the validity of a mobile number. This is useful to verify that the number is correct before sending a message.

```
use Mimisk13\LaravelEasySMS\Facades\EasySMS;

$mobile = EasySMS::mobile('1234567890');

dump($mobile);

// result
array [
  "status" => "1"
  "remarks" => "Success"
  "error" => "0"
  "total" => 1
  "mobile" => array [
    "msisdn" => "301234567890"
    "national" => "1234567890"
    "country" => "GREECE"
    "countryCode" => 30
    "gsmCode" => "123"
    "number" => "4567890"
    "mcc" => "202"
    "mnc" => "05"
    "cost" => 1
  ]
]
```

Change log
----------

[](#change-log)

Please see the [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details and a todolist.

Credits
-------

[](#credits)

- [Mimis K](https://github.com/mimisk13)
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT. Please see the [LICENSE file](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

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

555d ago

### Community

Maintainers

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

---

Top Contributors

[![MimisK13](https://avatars.githubusercontent.com/u/10620005?v=4)](https://github.com/MimisK13 "MimisK13 (8 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

laraveleasysms

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mimisk13-laravel-easysms/health.svg)

```
[![Health](https://phpackages.com/badges/mimisk13-laravel-easysms/health.svg)](https://phpackages.com/packages/mimisk13-laravel-easysms)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/discord

Laravel notification driver for Discord.

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

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[gr8shivam/laravel-sms-api

A modern, flexible Laravel package for integrating any SMS gateway with REST API support

10138.4k](/packages/gr8shivam-laravel-sms-api)

PHPackages © 2026

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