PHPackages                             matviichuk/notification-service-sdk - 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. matviichuk/notification-service-sdk

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

matviichuk/notification-service-sdk
===================================

Notification service SDK

1.0(8y ago)112MITPHP

Since Feb 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/matveu/Notification-Service-SDK)[ Packagist](https://packagist.org/packages/matviichuk/notification-service-sdk)[ RSS](/packages/matviichuk-notification-service-sdk/feed)WikiDiscussions master Synced yesterday

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

Ns SDK
======

[](#ns-sdk)

Notification Service SDK working with GMS-worldwide Api, Mailerlite, Asterisk, Infobip. You can send messages to a group of users or only one, by any of the sending channels: sms, viber, email.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require matviichuk/notification-service-sdk

```

or add

```
"matviichuk/notification-service-sdk": "^1.0"

```

to the require section of your composer.json file.

Usage
-----

[](#usage)

```
use matviichuk\NsSdk\HttpServiceConfigurator;
use matviichuk\NsSdk\Service;
use matviichuk\NsSdk\Auth\AccessToken;
use matviichuk\NsSdk\Resources\CampaignsResource;
use matviichuk\NsSdk\Requests\Campaigns\GetCampaignsRequest;
use matviichuk\NsSdk\Requests\Campaigns\GetCampaignRequest;
use matviichuk\NsSdk\Requests\Campaigns\CreateCampaignRequest;
use matviichuk\NsSdk\Requests\Campaigns\UpdateCampaignRequest;
use matviichuk\NsSdk\Requests\Campaigns\DeleteCampaignRequest;

$configure   = new HttpServiceConfigurator();
$nsClient    = new Service($configure);
$accessToken = new AccessToken('Your email in Notification Service', 'Your password');

$nsClient->authorization($accessToken);      // after that you will be authorized

- Get all campaigns:
    $result = $nsClient->execute(new CampaignsResource(), new GetCampaignsRequest());

- Get one campaign:
    $result = $nsClient->execute(new CampaignsResource(), new GetCampaignRequest({$campaignId}));

- Create new campaign:
    $campaign = new CreateCampaignRequest();
    $campaign->setName('Campaign name');
    $campaign->setProviderId({$providerId});

    $result   = $nsClient->execute(new CampaignsResource(), $campaign);

- Update campaign:
    $campaign = new UpdateCampaignRequest({$campaignId});
    $campaign->setName('New campaign name');
    $campaign->setProviderId({$providerId});

    $result   = $nsClient->execute(new CampaignsResource(), $campaign);

- Delete campaign:
    $result = $nsClient->execute(new CampaignsResource(), new DeleteCampaignRequest({$campaignId}));

*response: campaign object

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3060d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11275712?v=4)[Igor Matviichuk](/maintainers/matveu)[@matveu](https://github.com/matveu)

---

Top Contributors

[![matveu](https://avatars.githubusercontent.com/u/11275712?v=4)](https://github.com/matveu "matveu (1 commits)")

---

Tags

emailsmsasteriskInfobipvibermailerlite

### Embed Badge

![Health badge](/badges/matviichuk-notification-service-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/matviichuk-notification-service-sdk/health.svg)](https://phpackages.com/packages/matviichuk-notification-service-sdk)
```

###  Alternatives

[infobip/infobip-api-php-client

PHP library for consuming Infobip's API

931.9M10](/packages/infobip-infobip-api-php-client)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

252143.0k](/packages/erag-laravel-disposable-email)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

121242.9k1](/packages/ellaisys-aws-cognito)[ferdous/laravel-otp-validate

Laravel package for OTP validation with built-in features like retry and resend mechanism. Built in max retry and max resend blocking. OTP/Security Code can be send over SMS or Email of your choice with user-defined template.

7024.6k](/packages/ferdous-laravel-otp-validate)[nikolaposa/notifier

Extensible library for building notifications and sending them via different delivery channels.

211.6k](/packages/nikolaposa-notifier)

PHPackages © 2026

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