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 today

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 35% 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

1528d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32116270?v=4)[Sachin Rai](/maintainers/sachinkiranti)[@sachinkiranti](https://github.com/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

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[nativephp/mobile

NativePHP for Mobile

1.1k75.1k96](/packages/nativephp-mobile)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

43411.2k](/packages/venturedrake-laravel-crm)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.0k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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