PHPackages                             datamweb/sms-rocket - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. datamweb/sms-rocket

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

datamweb/sms-rocket
===================

SMSRocket is a powerful package designed to enhance and simplify SMS communication in your CodeIgniter 4 project.

1.0.0(1y ago)1328[4 PRs](https://github.com/datamweb/sms-rocket/pulls)MITPHPPHP &gt;=8.1 &lt;8.5CI passing

Since Oct 14Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/datamweb/sms-rocket)[ Packagist](https://packagist.org/packages/datamweb/sms-rocket)[ Docs](https://github.com/datamweb/sms-rocket)[ RSS](/packages/datamweb-sms-rocket/feed)WikiDiscussions develop Synced 3w ago

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

CodeIgniter4 SMSRocket
======================

[](#codeigniter4-smsrocket)

[![PHPUnit](https://github.com/datamweb/sms-rocket/actions/workflows/phpunit.yml/badge.svg)](https://github.com/datamweb/sms-rocket/actions/workflows/phpunit.yml)[![PHPCSFixer](https://github.com/datamweb/sms-rocket/actions/workflows/phpcsfixer.yml/badge.svg)](https://github.com/datamweb/sms-rocket/actions/workflows/phpcsfixer.yml)[![PHPStan](https://github.com/datamweb/sms-rocket/actions/workflows/phpstan.yml/badge.svg)](https://github.com/datamweb/sms-rocket/actions/workflows/phpstan.yml)[![Psalm](https://github.com/datamweb/sms-rocket/actions/workflows/psalm.yml/badge.svg)](https://github.com/datamweb/sms-rocket/actions/workflows/psalm.yml)[![Rector](https://github.com/datamweb/sms-rocket/actions/workflows/rector.yml/badge.svg)](https://github.com/datamweb/sms-rocket/actions/workflows/rector.yml)[![PHPCPD](https://github.com/datamweb/sms-rocket/actions/workflows/phpcpd.yml/badge.svg)](https://github.com/datamweb/sms-rocket/actions/workflows/phpcpd.yml)[![Deptrac](https://github.com/datamweb/sms-rocket/actions/workflows/deptrac.yml/badge.svg)](https://github.com/datamweb/sms-rocket/actions/workflows/deptrac.yml)[![Coverage Status](https://camo.githubusercontent.com/eeb8cc8bdbf1e991a9d0b3c792fa627a0d0b97e339df6033726f21647d8ea55a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f646174616d7765622f736d732d726f636b65742f62616467652e7376673f6272616e63683d646576656c6f70)](https://coveralls.io/github/datamweb/sms-rocket?branch=develop)

---

[![Latest Stable Version](https://camo.githubusercontent.com/d0d906c5f9a33d34f7ac5bbb793e610de64a4f7c7413386f4a1da10b8e337dd0/68747470733a2f2f706f7365722e707567782e6f72672f646174616d7765622f736d732d726f636b65742f763f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/datamweb/sms-rocket) [![Total Downloads](https://camo.githubusercontent.com/2bd08f10d01fa812ca51f0c86016ddc7da5408cb6bd523e0886f7f5f117e0e36/68747470733a2f2f706f7365722e707567782e6f72672f646174616d7765622f736d732d726f636b65742f646f776e6c6f6164733f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/datamweb/sms-rocket) [![Latest Unstable Version](https://camo.githubusercontent.com/7d58f1773aa3bc38a1285acb39664b1c7c455a7e3fb83dd251c2520ae539da2c/68747470733a2f2f706f7365722e707567782e6f72672f646174616d7765622f736d732d726f636b65742f762f756e737461626c653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/datamweb/sms-rocket) [![License](https://camo.githubusercontent.com/d24b88745e4d6f6ab48aa5a04a83234244b5485cf45c65ce894e099348f374de/68747470733a2f2f706f7365722e707567782e6f72672f646174616d7765622f736d732d726f636b65742f6c6963656e73653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/datamweb/sms-rocket) [![PHP Version Require](https://camo.githubusercontent.com/5cb76c1d7e7cffc3c42c5d9a8e23f800fe296a79d26fff06888b5184389f45e8/68747470733a2f2f706f7365722e707567782e6f72672f646174616d7765622f736d732d726f636b65742f726571756972652f7068703f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/datamweb/sms-rocket)

The **CodeIgniter 4 SMSRocket** package was developed to tackle recurring issues with SMS integration across various CodeIgniter 4 projects. Having personally encountered these challenges in multiple projects, I created this package to offer a structured and unified solution. SMSRocket includes features such as support for multiple drivers, automatic user phone detection for seamless integration with CodeIgniter Shield, caching, retry mechanisms for failed message sending attempts and multiple messaging all designed to make SMS handling in your projects smoother and more efficient.

One of the key features of this package is the ability to configure **custom drivers**. This allows developers to easily implement their own drivers if they need to work with specific SMS providers or internal solutions. This flexibility ensures that SMSRocket can adapt to any SMS provider and be tailored to the specific needs of your project.

Features
--------

[](#features)

- **Multi-driver support:** Easily switch between different SMS providers.
- **Caching:** Caches SMS responses to reduce redundant requests.
- **Logging:** Logs SMS sending operations for easy debugging and monitoring.
- **Retry Mechanism:** Automatically retries failed message sending attempts.
- **Multiple Messaging:** Supports sending SMS to multiple recipients at once.
- **User Integration:** Automatically detects the phone number field from `User` models (integration with CodeIgniter Shield).
- **Data History:** Maintains a complete history of SMS transactions in the database for future reference and analysis.
- **Sensitive Data Handling:** Provides functionality to obfuscate sensitive information before storing it in the database to enhance security and privacy.

Customization &amp; Flexibility
-------------------------------

[](#customization--flexibility)

- **Custom Drivers**: If the existing drivers do not meet your needs, you can easily add new SMS drivers by implementing the `SMSDriverInterface`. This allows you to integrate any SMS provider, either through APIs or other mechanisms, offering complete control over how messages are sent.
- **Configurable Drivers**: Each driver can be customized individually with its own set of configuration options, allowing you to fine-tune settings like API keys, default senders, and availability of the drivers for specific environments (e.g., production vs. testing).
- **Integration with Existing Systems**: The package is designed to be highly modular and easy to integrate with other packages or libraries in CodeIgniter. Whether you need to integrate SMS functionality into a larger notification system or an e-commerce platform, SMSRocket can be extended and customized as needed.

Documentation
-------------

[](#documentation)

For a comprehensive overview of the package, including setup, configuration, usage examples, and advanced features, please refer to the official documentation. All essential details are covered to help you get started smoothly.

Explore the documentation [here](https://www.smsrocket.codeigniter4.ir/).

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

[](#installation)

To install the package via Composer, run:

```
composer require datamweb/sms-rocket
```

For more information, please refer to [installation](docs/installation.md).

Acknowledgements
----------------

[](#acknowledgements)

I believe that the **CodeIgniter4** framework has not received the attention it deserves from the developer community. Therefore, it is up to all of us to contribute and build a strong and useful community around this framework. One effective way to do this is by submitting **Pull Requests** to add SMS drivers from different countries, helping to improve and expand **SMSRocket**. By doing so, we can turn this package into a comprehensive and valuable tool for all users and strengthen the **CodeIgniter4** ecosystem along the way.

Every open-source project depends on its contributors to be a success. The following users have contributed in one manner or another in making CodeIgniter4 SMSRocket:

[ ![Contributors](https://camo.githubusercontent.com/6a19e9392f81361b82fe9b35df7e51e17113ecfeb32564cf14bc0fda9777135a/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d646174616d7765622f736d732d726f636b6574)](https://github.com/datamweb/sms-rocket/graphs/contributors)Made with [contrib.rocks](https://contrib.rocks).

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance64

Regular maintenance activity

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 88% 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

Unknown

Total

1

Last Release

617d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2786c775442e943e61886ab03457110fa7f056846b1e9ba7bb87825b82d987cf?d=identicon)[datamweb1](/maintainers/datamweb1)

---

Top Contributors

[![datamweb](https://avatars.githubusercontent.com/u/9530214?v=4)](https://github.com/datamweb "datamweb (22 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")

---

Tags

codeignitercodeigniter4smssmsrocketcodeignitersmscodeigniter4SMSRocket

###  Code Quality

Static AnalysisRector

### Embed Badge

![Health badge](/badges/datamweb-sms-rocket/health.svg)

```
[![Health](https://phpackages.com/badges/datamweb-sms-rocket/health.svg)](https://phpackages.com/packages/datamweb-sms-rocket)
```

###  Alternatives

[mageplaza/module-smtp

SMTP Extension for Magento 2 helps the owner of store simply install SMTP (Simple Mail Transfer Protocol) server which transmits the messages into codes or numbers

3026.1M9](/packages/mageplaza-module-smtp)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2588.1M15](/packages/laravel-notification-channels-twilio)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

318263.8k6](/packages/tzsk-sms)[symfony/fake-sms-notifier

Fake SMS (as email or log during development) Notifier Bridge.

27826.9k1](/packages/symfony-fake-sms-notifier)[cmdotcom/text-sdk-php

PHP SDK to send messages with CM.com

23723.6k4](/packages/cmdotcom-text-sdk-php)[symfony/twilio-notifier

Symfony Twilio Notifier Bridge

131.2M2](/packages/symfony-twilio-notifier)

PHPackages © 2026

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