PHPackages                             tamizh/realtime-push - 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. tamizh/realtime-push

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

tamizh/realtime-push
====================

Api package to push notifications using realtime pusher node.js application with socket.io

1.0.0(9y ago)4931MITPHP

Since Oct 16Pushed 9y ago1 watchersCompare

[ Source](https://github.com/rtamizh/realtime-push)[ Packagist](https://packagist.org/packages/tamizh/realtime-push)[ RSS](/packages/tamizh-realtime-push/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

realtime-push
=============

[](#realtime-push)

Real-time push notification package for laravel

Please checkout the following library before using it - [instant-notify](http://github.com/rtamizh/instant-notify)

Installation
============

[](#installation)

```
composer require tamizh/realtime-push

```

or add the following line in composer.json line

"tamizh/realtime-push" : "dev-master" and run `composer update`

Add the service provider to your config/app.php file:

```
        'providers'     => array(
                //...
                Realtime\Push\RealtimePusherProvider::class,

        ),

```

Add the facade to your config/app.php file:

```
        'facades'       => array(

                //...
                'Push'          => Realtime\Push\Facades\RealtimePusher::class,

        ),

```

Publish config file using `php artisan vendor:publish`Modifiy the config/realtime-pusher.php. That's all set for working with functions

And a js file will be added in public/js/notification.js. include it in your layout or pages that you are need the push notification

```
var notification = new Notification(, );
notification.login();
notification.socket.on('notification',function(data){
        // do the stuff you want with data
})

```

As of now the text and image variables available in the server, soon it will be increased. Use text as json and parsse it in browser side javascript to have many variables.

\#Functions

1.createApp - to create app in notification server

```
Push::createApp('test')

```

it will return a secert\_id with success response. store or add it to the config file for creating users for this app

2.createUser - to create User in notification server

```
Push::createUser('name', 'password')

```

it will return the user secret with success message. store it in your database for sending notification to this user

3.notify - to create and send it to the respective user

```
Push::notify($user_secret, $text, $image)

```

\#Example

You can find my laravel demo application [ here ](https://github.com/rtamizh/push_notification_demo)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3492d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/40e37f3903b78e435591b11bbad08a05e0581aa84da035afe6492c7cf02c7b46?d=identicon)[rtamizh](/maintainers/rtamizh)

---

Top Contributors

[![rtamizh](https://avatars.githubusercontent.com/u/10695611?v=4)](https://github.com/rtamizh "rtamizh (12 commits)")

---

Tags

laravellaravel-packagenotificationsphprealtimesocket-iolaravelnotificationrealtime

### Embed Badge

![Health badge](/badges/tamizh-realtime-push/health.svg)

```
[![Health](https://phpackages.com/badges/tamizh-realtime-push/health.svg)](https://phpackages.com/packages/tamizh-realtime-push)
```

###  Alternatives

[sarfraznawaz2005/laravel-sse

Laravel package to provide Server Sent Events functionality for your app.

474.6k](/packages/sarfraznawaz2005-laravel-sse)

PHPackages © 2026

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