PHPackages                             ericmaicon/fabricadesms - 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. ericmaicon/fabricadesms

ActiveLibrary[API Development](/categories/api)

ericmaicon/fabricadesms
=======================

SDK to consume the fabricadesms.com.br API

v1.0.3(11y ago)179MITPHPPHP &gt;=5.4.0

Since Apr 15Pushed 11y ago1 watchersCompare

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

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

Fábrica de SMS SDK integration
==============================

[](#fábrica-de-sms-sdk-integration)

- [About](#about)
- [Usage](#usage)

About:
------

[](#about)

This is a simple SDK to consume the [Fábrica de SMS](http://fabricadesms.com.br) API.

Usage with composer:
--------------------

[](#usage-with-composer)

```
{
    require: {
        "ericmaicon/fabricadesms": "v1.0.1"
    }
}

```

### Your config array

[](#your-config-array)

```
array(
    'login' => 'USERNAME',
    'password' => 'PASSWORD',
);
```

### Send a SMS

[](#send-a-sms)

```
require_once ('vendor/autoload.php');

$config = array(
  'login' => 'USERNAME',
  'password' => 'PASSWORD',
);

$sms = new fabricadesms\Sms($config);
$sms->sendSms(6281818181, 'message here');
```

### Send Multiple SMS

[](#send-multiple-sms)

```
require_once ('vendor/autoload.php');

$config = array(
  'login' => 'USERNAME',
  'password' => 'PASSWORD',
);

$sms = new fabricadesms\Sms($config);
$sms->sendMultipleSms(array(
    6281818181,
    6281818182
    ), 'message here');
```

### Schedule a SMS

[](#schedule-a-sms)

```
require_once ('vendor/autoload.php');

$config = array(
  'login' => 'USERNAME',
  'password' => 'PASSWORD',
);

$sms = new fabricadesms\Sms($config);
$sms->scheduleSms(6281818181, 'message here', '24/12/2015', '16:00');
```

### Get Balance

[](#get-balance)

```
require_once ('vendor/autoload.php');

$config = array(
  'login' => 'USERNAME',
  'password' => 'PASSWORD',
);

$sms = new fabricadesms\Sms($config);
$sms->getBalance();
```

### Get Campaign Status

[](#get-campaign-status)

```
require_once ('vendor/autoload.php');

$config = array(
  'login' => 'USERNAME',
  'password' => 'PASSWORD',
);

$sms = new fabricadesms\Sms($config);
$sms->getCampaignStatus($campaignId);
```

### Get Response Status

[](#get-response-status)

```
require_once ('vendor/autoload.php');

$config = array(
  'login' => 'USERNAME',
  'password' => 'PASSWORD',
);

$sms = new fabricadesms\Sms($config);
$sms->getStatus('2015-04-01', '2014-05-01');
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Every ~4 days

Total

4

Last Release

4040d ago

### Community

Maintainers

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

---

Top Contributors

[![ericmaicon](https://avatars.githubusercontent.com/u/1010637?v=4)](https://github.com/ericmaicon "ericmaicon (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ericmaicon-fabricadesms/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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