PHPackages                             smsfactor/smsfactor-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. smsfactor/smsfactor-laravel

ActiveLibrary[API Development](/categories/api)

smsfactor/smsfactor-laravel
===========================

Laravel package for SMSFactor API

v1.1.1(4y ago)347.4k↑11.5%1MITPHPPHP &gt;=5.4CI failing

Since Sep 4Pushed 4y ago2 watchersCompare

[ Source](https://github.com/smsfactor/smsfactor-laravel)[ Packagist](https://packagist.org/packages/smsfactor/smsfactor-laravel)[ RSS](/packages/smsfactor-smsfactor-laravel/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

SMS API Package for Laravel
===========================

[](#sms-api-package-for-laravel)

The Laravel Service Provider that allows you to use [SMSFactor PHP Client library](https://github.com/smsfactor/smsfactor-php-sdk).

In order to use it, make sure to have an account. You can register [here](https://www.smsfactor.com/en/registration/?utm_source=github&utm_campaign=Inscription&spid=17146). Once your account is created, you need to generate your first [API token](https://dev.smsfactor.com/en/api/sms/token/create-token). You can find the complete documentation of our API [here](https://dev.smsfactor.com/).

Installation
============

[](#installation)

We recommend using [Composer](https://getcomposer.org/) to install the PHP client library to your project.

```
composer require smsfactor/smsfactor-laravel

```

**Laravel 5.5+**

If you're using Laravel 5.5 or above, the package will automatically register the `SMSFactor` provider and facades.

**Laravel 5.4 and below**

Add `SMSFactor\Laravel\SMSFactorServiceProvider` to the providers array in your `config/app.php`:

```
'providers' => [
    // Other service providers...
    SMSFactor\Laravel\SMSFactorServiceProvider::class,
],
```

If you want to use the a facade interface, you can `use` any of them depending on your need:

```
use SMSFactor\Laravel\Facade\Account;
use SMSFactor\Laravel\Facade\Campaign;
use SMSFactor\Laravel\Facade\ContactList;
use SMSFactor\Laravel\Facade\Message;
use SMSFactor\Laravel\Facade\Webhook;
use SMSFactor\Laravel\Facade\Token;
```

Or add any alias in your `config/app.php`:

```
'aliases' => [
    ...
    'SMSFactor' => SMSFactor\Laravel\Facade\Account::class,
    'SMSFactor' => SMSFactor\Laravel\Facade\Campaign::class,
    'SMSFactor' => SMSFactor\Laravel\Facade\ContactList::class,
    'SMSFactor' => SMSFactor\Laravel\Facade\Message::class,
    'SMSFactor' => SMSFactor\Laravel\Facade\Webhook::class,
    'SMSFactor' => SMSFactor\Laravel\Facade\Token::class,
],
```

Configuration
=============

[](#configuration)

You can use `artisan vendor:publish` to copy the distribution configuration file to your app's config directory:

```
php artisan vendor:publish

```

Then update `config/smsfactor.php` with your token.

Usage
=====

[](#usage)

To use the SMSFactor Client Library you can use the facades, or request an instance from the service container:

```
$response = Message::send([
	'to' => '33600000000',
	'text' => 'Have you ever danced with the devil in the pale moonlight ?'
]);
print_r($response->getJson()); //In case you don't receive your text, printing the API response might be useful
```

or

```
$account = app('SMSFactor\Message');
$response = $account->send([
	'to' => '33600000000',
	'text' => 'Have you ever danced with the devil in the pale moonlight ?'
]);
print_r($response->getJson());
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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

Every ~500 days

Total

3

Last Release

1495d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/59b01e35d9a2e4224c89961d099e6444b460d181f715edc30e16caa35140b6e7?d=identicon)[SMSFactor](/maintainers/SMSFactor)

---

Top Contributors

[![fpalamour](https://avatars.githubusercontent.com/u/10830197?v=4)](https://github.com/fpalamour "fpalamour (17 commits)")

### Embed Badge

![Health badge](/badges/smsfactor-smsfactor-laravel/health.svg)

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M986](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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