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

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

sachinkiranti/sparrow-sms
=========================

Sparrow Sms Provider Api Wrapper

v1.0.0(4y ago)14MITPHPPHP ^7.3|^8.0|^8.1

Since Apr 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sachinkiranti/sparrow-sms)[ Packagist](https://packagist.org/packages/sachinkiranti/sparrow-sms)[ RSS](/packages/sachinkiranti-sparrow-sms/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Laravel SparrowSms
==================

[](#laravel-sparrowsms)

The `sachinkiranti/sparrow-sms` package provides easy access to the api of *Nepali Sms Service Provider* called **SparrowSms**.

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

[](#installation)

Installation is straightforward, setup is similar to every other Laravel Packages.

#### 1. Install via Composer

[](#1-install-via-composer)

Begin by pulling in the package through Composer:

```
composer require sachinkiranti/sparrow-sms

```

#### 2. Define the Service Provider and alias

[](#2-define-the-service-provider-and-alias)

**Note:** This package supports the new auto discovery features of `Laravel >=5.5`, so if you are working on a `Laravel >=5.5` project, then your installation is complete, you can skip to step 3.

Add manually the service provider in your `config/app.php` file :

```
'providers' => [
    // ...
    SachinKiranti\SparrowSms\SparrowSmsServiceProvider::class,
];
```

#### 3. Publish Config File

[](#3-publish-config-file)

To generate a config file type this command into your terminal:

```
php artisan vendor:publish --tag=sparrow-sms

```

Usage
-----

[](#usage)

Using the `sachinkiranti/sparrow-sms` package :

After publishing the config files, please add the **auth token** token.

Sending Sms :

```
// $recipients can be array of phone number or a single phone number
 (new SparrowSms(98xxxxxxxx, "Hello From sachinkiranti/sparrow-sms repo."))->send()
//  or sending to multiple phone number
 (new SparrowSms([98xxxxxxxx, 98xxxxxxxx], "Hello From sachinkiranti/sparrow-sms repo."))->send()
```

Checking Available Credit :

```
 (new SparrowSms(null, null))->credit() // Available Credits : 1000
```

### Using with helpers

[](#using-with-helpers)

```
// Single recipient
 send_sparrow_sms (98xxxxxxxx, "Hello From sachinkiranti/sparrow-sms repo.");
// Or multiple recipients
 send_sparrow_sms ([98xxxxxxxx, 98xxxxxxxx], "Hello From sachinkiranti/sparrow-sms repo.");
```

Checking Available Credit :

```
 get_sparrow_sms_credit(); // Available Credits : 1000
```

### TODO

[](#todo)

- Test
- More flexible Api

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

1475d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e0734c8c63344b635e9a731ebe5c0061908d50071eece14b62ff143abbecc97?d=identicon)[sachinkiranti](/maintainers/sachinkiranti)

---

Top Contributors

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

---

Tags

laravelnepalsmssparrow-smssparrow-sms-nepalsparrowsmssparrowsmsnepallaravelsmsnepalsparrowsparrowsms

### Embed Badge

![Health badge](/badges/sachinkiranti-sparrow-sms/health.svg)

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

###  Alternatives

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[tzsk/sms

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

320244.3k6](/packages/tzsk-sms)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[adrianorosa/laravel-geolocation

Laravel Geo Location package to get details for a given IP Address

6593.3k1](/packages/adrianorosa-laravel-geolocation)

PHPackages © 2026

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