PHPackages                             extendy/jormall-sms-bundle - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. extendy/jormall-sms-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

extendy/jormall-sms-bundle
==========================

A Symfony bundle to send SMS using Jormall SMS API

1.0.2(1y ago)010MITPHPPHP ^8.2CI passing

Since Jun 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Extendy/jormall-sms-bundle)[ Packagist](https://packagist.org/packages/extendy/jormall-sms-bundle)[ RSS](/packages/extendy-jormall-sms-bundle/feed)WikiDiscussions main Synced 1mo ago

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

Jormall SMS Bundle
==================

[](#jormall-sms-bundle)

This is a Symfony bundle that provides an easy way to send SMS using the [Jormall SMS web service](http://josmsservice.com/).

Features
--------

[](#features)

- Send SMS messages using the Jormall SMS API.
- Get the balance of the account.
- Handle connection and request errors gracefully.

Requirements
------------

[](#requirements)

- PHP 8.2 or higher
- GuzzleHttp 7.8 or higher
- Symfony Framework Bundle 7.0 or higher
- User must have an active SMS account with JorMall
- The SMS account must have SMS balance.
- The used sender through this web service must be registered by JorMall before its being used.

Installation
------------

[](#installation)

Add the following to your `composer.json`:

```
"require": {
    "extendy/jormall-sms-bundle": "0.0.0-beta.1"
}
```

or by running:

```
composer require extendy/jormall-sms-bundle
```

edit tour `.env` file and add the following (and replace the values with your Jormall sms account details):

```
JORMALLSMS_SENDERID=SENDERNAME
JORMALLSMS_ACCNAME=ACCOUNTUSERNAME
JORMALLSMS_ACCPASS=ACCOUNTPASSWORD
```

Usage
-----

[](#usage)

You can use the `JormallSmsService` service to send SMS messages or get the balance. Here is an example (while using it in a controller):

```
