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

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

pyaesone17/sms-poh
==================

SmsPoh Sdk for laravel

1.1(8y ago)72.8k↓44.4%2MITPHPPHP ~7.1

Since Jan 13Pushed 8y ago1 watchersCompare

[ Source](https://github.com/pyaesone17/sms-poh)[ Packagist](https://packagist.org/packages/pyaesone17/sms-poh)[ Docs](https://github.com/pyaesone17/SmsPoh)[ RSS](/packages/pyaesone17-sms-poh/feed)WikiDiscussions master Synced 3w ago

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

SMS Poh LARAVEL SDK
===================

[](#sms-poh-laravel-sdk)

This is my personal library to make it easier for developers. This is not offical SDK for smspoh. The main goal to create this package is I hate curl , guzzle or etc .... And I made abstraction. Now I could use easily by calling like this. That is it.

```
send_smspoh(
    ['+959790646062','+95943160544'],
    'Nice to meet you'
);
```

Install
-------

[](#install)

Via Composer

```
$ composer require pyaesone17/sms-poh:^1.1
```

Set Up
------

[](#set-up)

Publish the config file first.

```
$ php artisan vendor:publish
```

Configure the token in the sms-poh.php config file.

```
'token' => env('SMS_POH_TOKEN', 'Your_token_from_the_dashboard'),

```

SDK Usage
---------

[](#sdk-usage)

For fetching messages.

1. Using Facade

```
$results = SmsPohFacade::fetch(1);
```

2.Using Container

```
$sms = app()->make(pyaesone17\SmsPoh\SmsPoh::class);
$results = $sms->fetch(1);
```

3.Using function

```
$resutls = fetch_smspoh(1);
```

For sending messages.

1. Using Facade

```
$results = SmsPohFacade::send(
    ['+959790646062','+95943160544'],
    'Nice to meet you'
);

$results = SmsPohFacade::send(
    '+959790646062',
    'Nice to meet you'
);
```

2.Using Container

```
$sms = app()->make(pyaesone17\SmsPoh\SmsPoh::class);
$results = $sms->send(
    ['+959790646062','+95943160544'],
    'Nice to meet you'
);
```

3.Using function

```
$results = send_smspoh(
    ['+959790646062','+95943160544'],
    'Nice to meet you'
);
```

If you want to send message as testing purpose, you could pass true as a third parameter.

Notification Channel Usage
--------------------------

[](#notification-channel-usage)

This package also include custom notification channel for interacting with Laravel Notification features. Here is how to use it.

```
class SendSmsPohNotification extends Notification
{
    use Queueable;

    public $message;

    /**
     * Create a new notification instance.
     *
     * @return void
     */
    public function __construct($message)
    {
        $this->message = $message;
    }

    /**
     * Get the notification's delivery channels.
     *
     * @param  mixed  $notifiable
     * @return array
     */
    public function via($notifiable)
    {
        return [pyaesone17\SmsPoh\SmsPohChannel::class];
    }

    /**
     * Get the sms representation of the notification.
     *
     * @param  mixed  $notifiable
     * @return array
     */
    public function toMMSms($notifiable)
    {
        return [
            'message' => $this->message,
            'to' => '+959790646062',
            'test' => 1,
            'callback' => function (...$result)
            {
                // After sms is being sent or failed
                // The callback will fire, here you can
                // do whatever you want with the result.
                // If you don't want, just pass as null
                dd($result);
            }
        ];
    }
```

And Notify like this

```
$user = App\User::first();
$user->notify(new App\Notifications\SendSmsPohNotification("Hello world"));

```

License
-------

[](#license)

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

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

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

Every ~0 days

Total

3

Last Release

3087d ago

Major Versions

0.0.1 → 1.02018-01-13

### Community

Maintainers

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

---

Top Contributors

[![nyanwin](https://avatars.githubusercontent.com/u/7732452?v=4)](https://github.com/nyanwin "nyanwin (9 commits)")[![pyaesone17](https://avatars.githubusercontent.com/u/11407146?v=4)](https://github.com/pyaesone17 "pyaesone17 (1 commits)")

---

Tags

SmsPohpyaesone17

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/pyaesone17-sms-poh/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[venturedrake/laravel-crm

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

42010.0k](/packages/venturedrake-laravel-crm)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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