Download the PHP package ringlesoft/jasmin-client without Composer
On this page you can find all versions of the php package ringlesoft/jasmin-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ringlesoft/jasmin-client
More information about ringlesoft/jasmin-client
Files in ringlesoft/jasmin-client
Package jasmin-client
Short Description A laravel package for interacting with Jasmin SMS Gateway
License MIT
Homepage https://ringlesoft.com/packages/jasmin-client
Informations about the package jasmin-client
Jasmin SMS Gateway Client for Laravel
A Laravel package for seamless integration with Jasmin SMS Gateway, supporting HTTP, REST API, and SMPP connections.
Features
- Easy-to-use interface for sending and receiving SMS
- Support for HTTP and REST API jasmin options
- SMPP support is coming soon
- Delivery report handling
Installation
You can install the package via composer:
Configuration
Publish the configuration file:
Then, edit the config/jasmin_client.php
file with your Jasmin SMS Gateway credentials and preferred settings.
Available configurations
The following are available configurations. Most of these are just defaults and can be overridden in your code
url
: The base url of the jasmin server (include the port if different from80
or443/446
)username
: The username for your jasmin accountpassword
: The password for your jasmin accountdlr_callback_url
: The default sms delivery callback urlbatch_callback_url
: the default batch callback urlbatch_errback_url
: the default batch errback urldefault_dlr_method
: the default dlr method (GET/POST)default_dlr_level
: The default DLR level (1, 2, or 3)batch_chunk_size
: The default Chunk size for batches
Usage
Sending an SMS
Sending a single message (Http & Rest)
- Returns
RingleSoft\JasminClient\Models\Jasmin\SentMessage
Sending multiple messages as a batch (Rest only)
- Returns
RingleSoft\JasminClient\Models\Jasmin\SentBatch
Handling Delivery Statuses
This package provides a streamlined way to handle delivery statuses.
Handling Batch Callback Requests
When messages are sent in a batch, Jasmin responds with the ID of the batch created (batchId
) and enqueue the messages.
When each message is sent to SMC, jasmin fires a callback (batch callback) with messageId
of each message within the
batch.
To handle batch callbacks, you can use the receiveBatchCallback
method.
Checking rates (Http & Rest)
Checking account balance (Http & Rest)
Monitoring Metrics (Http)
Contributing
I'll soon let you know when you can contribute to this project.
License
This package is open-sourced software licensed under the MIT license.
Support
Contacts
Follow me on X: @ringunger
Email me: [email protected]
Website: https://ringlesoft.com
Note: This package is still under development. Please report any issues you encounter.
All versions of jasmin-client with dependencies
illuminate/support Version ^10.0|^11.23
illuminate/collections Version ^10.0|^11.23
illuminate/http Version ^10.0|^11.23
illuminate/validation Version ^10.0|^11.23
glushkovds/php-smpp Version ^0.7.1