PHPackages                             danbka33/smstraffic-api-laravel - 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. [API Development](/categories/api)
4. /
5. danbka33/smstraffic-api-laravel

ActiveLibrary[API Development](/categories/api)

danbka33/smstraffic-api-laravel
===============================

SMS Traffic API implementation with Laravel support

v1.0.4(2y ago)0115MITPHPPHP &gt;=5.5

Since Jul 22Pushed 2y agoCompare

[ Source](https://github.com/danbka33/smstraffic-api-laravel)[ Packagist](https://packagist.org/packages/danbka33/smstraffic-api-laravel)[ RSS](/packages/danbka33-smstraffic-api-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (5)Used By (0)

SMS Traffic API with Laravel Support
====================================

[](#sms-traffic-api-with-laravel-support)

[SMS Traffic](http://www.smstraffic.ru/) is full-cycle SMS aggregator. This project is an implementation of API by HTTP Protocol.

Install via composer
--------------------

[](#install-via-composer)

```
composer require danbka33/smstraffic-api-laravel
```

This package makes use of [Laravels package auto-discovery mechanism](https://medium.com/@taylorotwell/package-auto-discovery-in-laravel-5-5-ea9e3ab20518).

If for some reason you want manually control this:

- add the package to the `extra.laravel.dont-discover` key in `composer.json`, e.g. ```
    "extra": {
      "laravel": {
        "dont-discover": [
          "danbka33/smstraffic-api-laravel"
        ]
      }
    }
    ```
- Add the following class to the `providers` array in `config/app.php`: ```
    \Danbka33\SmsTrafficApi\Providers\SmsTrafficServiceProvider::class,
    ```

Environment Variables
---------------------

[](#environment-variables)

```
SMS_TRAFFIC_LOGIN=login
SMS_TRAFFIC_PASSWORD=password
SMS_TRAFFIC_ORIGINATOR=originator
```

Lumen
-----

[](#lumen)

To use the included config, copy it over to your config folder.

```
mkdir -p config
cp vendor/danbka33/smstraffic-api-laravel/src/config/sms-traffic.php config/
```

Register the config file within your bootstrap/app.php file:

```
$app->configure('sms-traffic');
```

Register the service provider in your bootstrap/app.php file:

```
$app->register(\Danbka33\SmsTrafficApi\Providers\SmsTrafficServiceProvider::class);
```

Usage
-----

[](#usage)

```
use Danbka33\SmsTrafficApi\Client;
use Danbka33\SmsTrafficApi\Sms\Sms;

$client = app()->get(Client::class);
$result = $client->send(new Sms($phone, $message));
```

Publish default config file
---------------------------

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

```
php artisan vendor:publish --tag=sms-traffic-config
```

```
return [
    'login' => env('SMS_TRAFFIC_LOGIN', ''),
    'password' => env('SMS_TRAFFIC_PASSWORD', ''),
    'originator' => env('SMS_TRAFFIC_ORIGINATOR', ''),
];
```

License
-------

[](#license)

The SMS Traffic API with Laravel Support is open-sourced software licensed under the MIT license

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~193 days

Total

4

Last Release

811d ago

PHP version history (2 changes)v1.0.0PHP &gt;=7.1

v1.0.1PHP &gt;=5.5

### Community

Maintainers

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

---

Top Contributors

[![danbka33](https://avatars.githubusercontent.com/u/1656453?v=4)](https://github.com/danbka33 "danbka33 (10 commits)")[![bojik](https://avatars.githubusercontent.com/u/1387530?v=4)](https://github.com/bojik "bojik (9 commits)")[![sektor-sumy](https://avatars.githubusercontent.com/u/4012007?v=4)](https://github.com/sektor-sumy "sektor-sumy (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/danbka33-smstraffic-api-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/danbka33-smstraffic-api-laravel/health.svg)](https://phpackages.com/packages/danbka33-smstraffic-api-laravel)
```

###  Alternatives

[simplestats-io/laravel-client

Client for SimpleStats!

4515.5k](/packages/simplestats-io-laravel-client)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

208.8k](/packages/njoguamos-laravel-plausible)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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