PHPackages                             krish033/netty - 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. krish033/netty

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

krish033/netty
==============

Netty is a Laravel package crafted with ❤️ to simplify SMS &amp; OTP workflows using NettyFish APIs. Instead of wiring up HTTP clients, manually handling payloads, and fighting with configs, Netty gives you:

1.0.0(7mo ago)07MITPHPPHP ^8.2

Since Sep 22Pushed 7mo agoCompare

[ Source](https://github.com/Krish033/netty)[ Packagist](https://packagist.org/packages/krish033/netty)[ RSS](/packages/krish033-netty/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Netty 🚀
=======

[](#netty-)

> **Built to make working with [NettyFish](https://nettyfish.com/) easier, faster, and more Laravel-ish.**

Netty is a Laravel package crafted with ❤️ to simplify SMS &amp; OTP workflows using NettyFish APIs.
Instead of wiring up HTTP clients, manually handling payloads, and fighting with configs, Netty gives you:

- ⚡ A clean repository + contract-based structure
- 🏗️ Facade support for developer-friendly syntax
- 🛠️ A simple Artisan command to generate SMS templates
- 🔑 Full control with `.env` powered configuration
- 📦 A package-first approach for plug-and-play reusability

Perfect for OTP verification systems, transactional messages, and any NettyFish SMS workflows.

---

📦 Installation
--------------

[](#-installation)

Require the package via Composer:

```
composer require krish033/netty
```

Publish the config file:

```
php artisan vendor:publish --tag=config
```

Add your Nettyfish credentials to .env:

```
NETTYFISH_URL=
NETTYFISH_API_KEY=
NETTYFISH_SENDER_ID=
NETTYFISH_SENDER_CHANNEL=
NETTYFISH_SENDER_DCS=
NETTYFISH_FLASH_SMS=
NETTYFISH_SENDER_ROUTE=
NETTYFISH_PEID=

```

⚙️ Configuration
----------------

[](#️-configuration)

Once published, the config file (config/Netty.php) will allow you to control your NettyFish integration. Each environment value maps directly to the API parameters, ensuring clean separation of concerns.

### Creating a Template

[](#creating-a-template)

Generate a new SMS template using Artisan:

```
php artisan otpfy:make TemplateName
```

Add the DLT Template and the Approved message to the Template

```
