PHPackages                             w3-devmaster/laravel-notibot - 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. [API Development](/categories/api)
4. /
5. w3-devmaster/laravel-notibot

ActiveLibrary[API Development](/categories/api)

w3-devmaster/laravel-notibot
============================

API package for laravel framework

1.0.0(2y ago)031MITPHPPHP &gt;=7.4

Since Nov 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/w3-devmaster/laravel-notibot)[ Packagist](https://packagist.org/packages/w3-devmaster/laravel-notibot)[ RSS](/packages/w3-devmaster-laravel-notibot/feed)WikiDiscussions main Synced 1mo ago

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

Notibot Services : API Package for any alert
============================================

[](#notibot-services--api-package-for-any-alert)

[![Latest Version](https://camo.githubusercontent.com/c27d919d6777aacfe6eb6bca51bcd65254be0ee9fb9f89d2c4fe4dc55c573636/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f77332d6465766d61737465722f6c61726176656c2d6e6f7469626f742e7376673f7374796c653d666c61742d737175617265)](https://github.com/w3-devmaster/laravel-notibot/releases)[![Total Downloads](https://camo.githubusercontent.com/53a012ce7bbcb8ee9282119ceae1f40f16301224cb9769b2f40d74d6843f2800/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77332d6465766d61737465722f6c61726176656c2d6e6f7469626f742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/w3-devmaster/laravel-notibot)

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

[](#installation)

Install with composer :

```
composer require w3-devmaster/laravel-notibot
```

Publish package config file :

```
php artisan vendor:publish --provider="W3Devmaster\Notibot\NotibotServiceProvider"
```

Add below to .env file :

```
ALERT_UUID=
ALERT_TOKEN=
```

Basic Use
---------

[](#basic-use)

Email Alert (send now) :

```
use W3Devmaster\Notibot\Sender\Email;

public function email()
{
    $email = new Email();
    $send = $email
        ->to('to-email@domain.com')
        ->subject('test')
        ->sender('sender-email@domain.com')
        ->content([
            'title' => 'Email Title',
            'message' => 'Email Message',
            'footer' => 'Email Footer',
        ])
        ->exec();
    return $send;
}
```

Line notify (send now) :

```
use W3Devmaster\Notibot\Sender\LineNotify;

public function line() {
    $line = new LineNotify();

    $send = $line->to('')
            ->message('test message')
            ->delay(true)
            ->delayTime('2023-11-10 15:00')
            ->exec();

    return $send;
}
```

Advanced Use (Transaction for alert)
------------------------------------

[](#advanced-use-transaction-for-alert)

Create transaction :

```
use W3Devmaster\Notibot\Notibot;
use W3Devmaster\Notibot\Sender\Email;
use W3Devmaster\Notibot\Sender\LineNotify;

public function create()
{
    $email = new Email();
    $email->to('to-email@domain.com')
        ->subject('test')
        ->sender('sender-email@domain.com')
        ->content([
            'title' => 'Email Title',
            'message' => 'Email Message',
            'footer' => 'Email Footer',
        ]);

    $line = new LineNotify();

    $line->to('')
        ->message('test message');

    $tranx = [
        'type' => 'onetime', // onetime | repeat
        'start' => '2023-11-10 15:00',
        'end' => '2023-11-10 15:00', // requried if type = repeat
        'next' => 2, // minute | requried if type = repeat
    ];

    $notibot = Notibot::create($tranx,$email,$line);

    return $notibot;
}
```

Get all transaction :

```
$notibot = new Notibot();
// Get all
$transactions = $notibot->transactions();

// Pages seperate
$transactions = $notibot->transactions($perPage,$page);
```

View transaction by id :

```
$notibot = new Notibot();
// Get id from other transaction : response->data
$transaction = $notibot->transaction($transactionId);
```

Update transaction by id :

```
use W3Devmaster\Notibot\Notibot;
use W3Devmaster\Notibot\Sender\Email;
use W3Devmaster\Notibot\Sender\LineNotify;

public function update($transactionId)
{
    $email = new Email();
    $email->to('to-email@domain.com')
        ->subject('test')
        ->sender('sender-email@domain.com')
        ->content([
            'title' => 'Email Title',
            'message' => 'Email Message',
            'footer' => 'Email Footer',
        ]);

    $line = new LineNotify();
    $line->to('')
        ->message('test message');

    $tranx = [
        'type' => 'onetime', // onetime | repeat
        'start' => '2023-11-10 15:00',
        'end' => '2023-11-10 15:00', // requried if type = repeat
        'next' => 2, // minute | requried if type = repeat
    ];

    $notibot = Notibot::update($transactionId,$tranx,$email,$line);

    return $notibot;
}
```

Delete transaction by id :

```
$notibot = new Notibot();
// Get id from other transaction : response->data
$notibot->delete($transactionId);
```

Get send logs :

```
$notibot = new Notibot();
// Get all logs
$logs = $notibot->logs();

// Pages seperate
$logs = $notibot->logs($perPage,$page);
```

View send logs :

```
$notibot = new Notibot();
// Log id from send logs
$logs = $notibot->log($logsId);
```

### Changelog

[](#changelog)

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

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

916d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ddaca3fd5e914c8f6595d35f110598b0e8c71b5e7b68e01ff46c65018fb9f2e?d=identicon)[w3-devmaster](/maintainers/w3-devmaster)

---

Top Contributors

[![w3-devmaster](https://avatars.githubusercontent.com/u/35686624?v=4)](https://github.com/w3-devmaster "w3-devmaster (14 commits)")

### Embed Badge

![Health badge](/badges/w3-devmaster-laravel-notibot/health.svg)

```
[![Health](https://phpackages.com/badges/w3-devmaster-laravel-notibot/health.svg)](https://phpackages.com/packages/w3-devmaster-laravel-notibot)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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