PHPackages                             ahmedrafat/magic-sms - 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. ahmedrafat/magic-sms

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

ahmedrafat/magic-sms
====================

Magic SMS allows you to send SMS from your Laravel application with any sms gateway.

1.0.0(5y ago)016MITPHPPHP &gt;=7

Since Jan 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Ahmed-Rafat/magic-sms)[ Packagist](https://packagist.org/packages/ahmedrafat/magic-sms)[ Docs](https://github.com/Ahmed-Rafat/magic-sms)[ RSS](/packages/ahmedrafat-magic-sms/feed)WikiDiscussions master Synced today

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

Magic Sms
=========

[](#magic-sms)

Magic SMS allows you to send SMS from your Laravel application with any sms gateway.

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

[](#requirements)

- Laravel `>=5.6`

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

[](#installation)

You can install the package via composer:

```
composer require ahmedrafat/magic-sms
```

Publishing files
----------------

[](#publishing-files)

Run the following Command to create config ( config/magic-sms.php ) file. You can set your sms details in the config file.

```
php artisan vendor:publish --provider="AR\\MagicSms\\Providers\\MagicSmsServiceProvider"
```

Usage
-----

[](#usage)

```
//using MagicSMS
use AR\MagicSms\MagicSms;

$sms = (new MagicSms)->send($destination, $message);
// You can check if send success via $sms->successful()
// Or can check if send failed via $sms->failed()
// or get the server response via $sms->getResponse()
```

### Using Helper function

[](#using-helper-function)

```
$sendSms = magicSendSms($destination, $message); //returns true/false
```

\[ Headers, Request, Response\] will be logged in storage/logs/magic-sms
note: you can enable/disable log from config file

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

1927d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2be08ac610f7d85a8bfac7322649432e41d4ce4ce3f613832b4b8537303459cf?d=identicon)[AhmedRafat](/maintainers/AhmedRafat)

---

Top Contributors

[![Rowaad-rh](https://avatars.githubusercontent.com/u/86968882?v=4)](https://github.com/Rowaad-rh "Rowaad-rh (10 commits)")

---

Tags

ahmedrafatmagic-sms

### Embed Badge

![Health badge](/badges/ahmedrafat-magic-sms/health.svg)

```
[![Health](https://phpackages.com/badges/ahmedrafat-magic-sms/health.svg)](https://phpackages.com/packages/ahmedrafat-magic-sms)
```

###  Alternatives

[danharrin/livewire-rate-limiting

Apply rate limiters to Laravel Livewire actions.

40423.1M27](/packages/danharrin-livewire-rate-limiting)[mateusjunges/laravel-kafka

A kafka driver for laravel

7163.1M17](/packages/mateusjunges-laravel-kafka)[illuminate/http

The Illuminate Http package.

11936.0M5.0k](/packages/illuminate-http)[ricorocks-digital-agency/soap

A SOAP client that provides a clean interface for handling requests and responses.

4281.8M5](/packages/ricorocks-digital-agency-soap)[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)

PHPackages © 2026

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