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

ActiveLibrary[API Development](/categories/api)

js0nvr/laravel-textmagic
========================

Laravel 5 integration of the Textmagic SMS API

v1.3(10y ago)0325MITPHPPHP &gt;=5.2.1

Since Feb 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/jonasvr/laravel-textmagic)[ Packagist](https://packagist.org/packages/js0nvr/laravel-textmagic)[ RSS](/packages/js0nvr-laravel-textmagic/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (1)Versions (6)Used By (0)

\#Laravel Textmagic

This is a Laravel 5 wrapper for the [Textmagic SMS API v2 PHP](https://github.com/textmagic/textmagic-rest-php)

\##What is Textmagic?

TextMagic SMS API is a platform for building your own messaging app using our messaging infrastructure. It allows you to send and receive SMS text messages, query information about inbound and outbound messages, manage contacts, create templates (i.e. message formats and static texts) and schedule recurrent SMS messages as well as process bulk SMS messages.

\###Basic Installation

Add the service provider to the providers array in `config/app.php`:

```
...
Onwwward\Textmagic\TextmagicServiceProvider::class,
...
```

You can optionally use the facade for shorter code. Add the facade to the alias array in `config/app.php`:

```
...
'Textmagic' => Onwwward\Textmagic\Facade\Textmagic::class,
...
```

### Configuration

[](#configuration)

After [adding the API key](https://my.textmagic.com/online/api/rest-api/keys) to your account, you'll need to provide the username and token. In Laravel you can publish the configuration file with `artisan`.

```
$ php artisan vendor:publish --provider="Onwwward\Textmagic\TextmagicServiceProvide" --tag="config"
```

> **Where's the file?** Laravel 5 will publish the config file to `/config/textmagic.php`.

#### Required config values

[](#required-config-values)

You'll need to update the `username` and `token` values in the config file with [your username and token](https://my.textmagic.com/online/api/rest-api/keys).

\###Code Example

```
  $text = "This is a Textmagic test message";
  $numbers = ['01234567891', '01234567891', '01234567891'];

  Textmagic::trigger('messages','create', [
      'text' => $text,
        'phones' => $numbers
    ]);
```

\###Todo

- Add more detailed logging
- Add ability to attach callback if request fails
- Add unit tests

\###License This plugin is released under the permissive MIT license. Your contributions are always welcome.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 53.8% 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 ~22 days

Total

4

Last Release

3683d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/27934?v=4)[Jason Wong](/maintainers/js0n)[@js0n](https://github.com/js0n)

---

Top Contributors

[![rolandsaven](https://avatars.githubusercontent.com/u/5774580?v=4)](https://github.com/rolandsaven "rolandsaven (7 commits)")[![jonasvr](https://avatars.githubusercontent.com/u/6528702?v=4)](https://github.com/jonasvr "jonasvr (6 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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