PHPackages                             owaslo/textit - 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. owaslo/textit

ActiveLibrary

owaslo/textit
=============

Laravel notification channel for textit Sri Lanka

0204PHP

Since Aug 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/OwasLo/laravel-textit)[ Packagist](https://packagist.org/packages/owaslo/textit)[ RSS](/packages/owaslo-textit/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Please see [this repo](https://github.com/laravel-notification-channels/channels) for instructions on how to submit a channel proposal.

Laravel Textit Notification Channel
===================================

[](#laravel-textit-notification-channel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/702ef6ff1850e0295db7957bffd71ddaf919ff2d4d86dae3ec859a1507010c72/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7465787469742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/textit)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/bfd518fc830efcd78759f7ba8e97a88c322d04e071bfa90fde9384858a887f38/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7465787469742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/laravel-notification-channels/textit)[![StyleCI](https://camo.githubusercontent.com/768a6041e6d9e1d5da89e64c3e785631240f2736770dfa68d509c42a321135da/68747470733a2f2f7374796c6563692e696f2f7265706f732f3a7374796c655f63695f69642f736869656c64)](https://styleci.io/repos/:style_ci_id)[![SensioLabsInsight](https://camo.githubusercontent.com/7a395d7551140767a9f38f838e0e96b367bae56234402374185cd65ee8d795a1/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f3a73656e73696f5f6c6162735f69642e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/:sensio_labs_id)[![Quality Score](https://camo.githubusercontent.com/f9924cf944a4c4bdee75d4487a56bc40d49743c2b6940fabdca35454e12d81ce/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7465787469742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/textit)[![Code Coverage](https://camo.githubusercontent.com/8c2271c0dcf29286715dff73b426b294ab5f2badbd8d295e211ca2aad723ea2b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7465787469742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/textit/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/5c09e98572c4dbf5aec2b175880e40a9fb2611502c19751decce3318ca3bfe75/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f7465787469742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/textit)

This package makes it easy to send notifications using \[Textit\](link to service) with Laravel 5.5+, 6.x and 7.x

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Textit service](#setting-up-the-Textit-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install this package via composer:

```
composer require owaslo/textit
```

### Setting up the Textit service

[](#setting-up-the-textit-service)

Add your Textit sms gate user, password and baseurl to your config/services.php:

```
// config/services.php
...
    'textit' => [
        'user' => env('TEXTIT_USER'),
        'password' => env('TEXTIT_PASSWORD'),
        'baseurl' => env('TEXTIT_BASEURL'),
    ],
...
```

Usage
-----

[](#usage)

You can use the channel in your via() method inside the notification:

```
use Illuminate\Notifications\Notification;
use NotificationChannels\TurboSMS\TurboSMSMessage;

class AccountApproved extends Notification
{
    public function via($notifiable)
    {
        return ["textit"];
    }

    public function toTextit($notifiable)
    {
        return (new TextitMessage("Your account was approved!"));
    }
}
```

### Available Message methods

[](#available-message-methods)

A list of all available options

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Upeksha Liyanage](https://github.com/glupeksha)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/77461109714d4be6519e2c953df4324abdec7f1532a876c33bb68acc45b1dfa4?d=identicon)[glupeksha](/maintainers/glupeksha)

---

Top Contributors

[![glupeksha](https://avatars.githubusercontent.com/u/11607767?v=4)](https://github.com/glupeksha "glupeksha (1 commits)")

### Embed Badge

![Health badge](/badges/owaslo-textit/health.svg)

```
[![Health](https://phpackages.com/badges/owaslo-textit/health.svg)](https://phpackages.com/packages/owaslo-textit)
```

PHPackages © 2026

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