PHPackages                             kpawork/msg4wrd-io - 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. kpawork/msg4wrd-io

ActiveLibrary[API Development](/categories/api)

kpawork/msg4wrd-io
==================

SMS Gateway API

v1.0.3(3y ago)064MITPHP

Since Apr 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/kingpauloaquino/msg4wrd-io)[ Packagist](https://packagist.org/packages/kpawork/msg4wrd-io)[ RSS](/packages/kpawork-msg4wrd-io/feed)WikiDiscussions main Synced today

READMEChangelog (3)DependenciesVersions (4)Used By (0)

About MSG4wrd-io
----------------

[](#about-msg4wrd-io)

MSG4wrd is an SMS Gateway and SMS Message Forwarder API, formerly PTXT4wrd.

Back from 2005 to 2012, in the Philippines, we don't have text to all networks. Our promos available back then is unlimited text to the same networks. (SMART to SMART or GLOBE to GLOBE Only)

PTXT4wrd was invented to solve the text to all networks. You can text to the same network and forward your message to other networks.

Example command for sending a message to other networks:

> PTXT{space}OtherNetworkNumber{space}YourMessage then send to Gateway.

Gateways - SMART / GLOBE / SUN If you are smart, you will use SMART Gateway, identical to the other networks.

> PTXT 09171234567 Hello world! Then, send to gateway number.

Installtion
-----------

[](#installtion)

> composer require kpawork/msg4wrd-io

After updating composer, add the ServiceProvider to the providers array in `config/app.php`

> KPAWork\\MSG4wrdIO\\MSG4wrdIOServiceProvider::class,

Then, it would be best if you published the vendor to generate a config file `config/msg4wrdio.php`

> php artisan vendor:publish

Almost there, you need to add your token to `.env`, to get token [MSG4wrd.io](https://msg4wrd.io/)

> MSG4wrdIO\_TOKEN=YOUR-TOKEN-HERE

To see if the MSG4wrd.io was installed successfully, open your browser, then access this:

>  or

To check if the MSG4wrd.io will send an SMS message, do this

>

Note: The mobile number should include the country code. I.e., +63 or +1

Usage
-----

[](#usage)

Create controller, let say `SMSController`

```
