PHPackages                             rangkotodotcom/pushnotif - 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. rangkotodotcom/pushnotif

ActiveLibrary

rangkotodotcom/pushnotif
========================

An http client library to connect to the PUSHNOTIF API

1.0.3(10mo ago)07MITPHPPHP ^7.3|^7.4|^8.0|^8.1|^8.2|^8.3|^8.4

Since May 5Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/rangkotodotcom/php-pushnotif-api)[ Packagist](https://packagist.org/packages/rangkotodotcom/pushnotif)[ RSS](/packages/rangkotodotcom-pushnotif/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (5)Used By (0)

PUSHNOTIF API
=============

[](#pushnotif-api)

This package is used to interact with the PUSHNOTIF API belonging to School.

[![Latest Version on Packagist](https://camo.githubusercontent.com/eee0b9999b53a55e3b130c8f63fe39e4617cd0fff98bc03ff7909fe212895850/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72616e676b6f746f646f74636f6d2f707573686e6f7469662e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rangkotodotcom/pushnotif)[![Total Downloads](https://camo.githubusercontent.com/0ab9770bffb97d7976b442f8b45f6260e9777cfee41903819ef03bcb37e0e4ca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72616e676b6f746f646f74636f6d2f707573686e6f7469662e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rangkotodotcom/pushnotif)

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

[](#installation)

You can install the package via composer:

```
composer require rangkotodotcom/pushnotif
```

#### Setup

[](#setup)

You must register the service provider :

```
// config/app.php

'Providers' => [
   // ...
   Rangkotodotcom\Pushnotif\PushnotifServiceProvider::class,
]
```

If you want to make use of the facade you must install it as well :

```
// config/app.php

'aliases' => [
    // ...
    'pushnotif' => Rangkotodotcom\Pushnotif\Pushnotif::class,
];
```

Next, You must publish the config file to define your Pushnotif CREDENTIAL :

```
php artisan vendor:publish --provider="Rangkotodotcom\Pushnotif\PushnotifServiceProvider"
```

This is the contents of the published file :

```
return [

    /*
    |--------------------------------------------------------------------------
    | Pushnotif Mode
    |--------------------------------------------------------------------------
    |
    | By default, use development. Supported Mode: "development", "production"
    |
    */

    'pushnotif_mode' => env('PUSHNOTIF_MODE', 'development'),

    /*
    |--------------------------------------------------------------------------
    | Pushnotif Client ID
    |--------------------------------------------------------------------------
    |
    | Client ID from PUSHNOTIF API
    |
    */

    'pushnotif_client_id' => env('PUSHNOTIF_CLIENT_ID', ''),

    /*
    |--------------------------------------------------------------------------
    | Pushnotif Client Secret
    |--------------------------------------------------------------------------
    |
    | Client Secret from PUSHNOTIF API
    |
    */

    'pushnotif_client_secret' => env('PUSHNOTIF_CLIENT_SECRET', ''),

    /*
    |--------------------------------------------------------------------------
    | Pushnotif Main Domain
    |--------------------------------------------------------------------------
    |
    | Main Domain from PUSHNOTIF API
    |
    */

    'pushnotif_main_domain' => env('PUSHNOTIF_MAIN_DOMAIN', 'school.sch.id'),
];
```

Set your PUSHNOTIF CREDENTIAL in `.env` file :

```
APP_NAME="Laravel"
# ...
PUSHNOTIF_MODE=developmentOrProduction
PUSHNOTIF_CLIENT_ID=putYourClientIdHere
PUSHNOTIF_CLIENT_SECRET=putYourClientSecretHere
PUSHNOTIF_MAIN_DOMAIN=domain.loc

```

### Methods Ref

[](#methods-ref)

- `::registerToken()`
- `::getMasterNotification()`
- `::postMasterNotification()`
- `::putMasterNotification()`
- `::deleteMasterNotification()`
- `::getNews()`
- `::postNews()`
- `::putNews()`
- `::deleteNews()`
- `::getInformation()`
- `::postInformation()`
- `::putInformation()`
- `::deleteInformation()`
- `::countNotification()`
- `::getNotification()`
- `::getNotificationById()`
- `::postNotification()`
- `::readNotification()`
- `::deleteJobNotification()`

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

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

[](#contributing)

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

Credits
-------

[](#credits)

- [jamilur rusydi](https://github.com/rangkotodotcom)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance54

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Every ~20 days

Total

4

Last Release

310d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c374462fab4eb0179ae6ae9bef9a5a96699283c172790a2aa101912a2d5b4a64?d=identicon)[rangkotodotcom](/maintainers/rangkotodotcom)

---

Top Contributors

[![rangkotodotcom](https://avatars.githubusercontent.com/u/88880925?v=4)](https://github.com/rangkotodotcom "rangkotodotcom (18 commits)")

---

Tags

phplaravelpushnotif

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rangkotodotcom-pushnotif/health.svg)

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

###  Alternatives

[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)[torchlight/torchlight-laravel

A Laravel Client for Torchlight, the syntax highlighting API.

120452.8k11](/packages/torchlight-torchlight-laravel)[iankumu/mpesa

A package that helps integrate the Mpesa APIs to your Laravel Project

5014.7k](/packages/iankumu-mpesa)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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