PHPackages                             libressltd/lbpushcenter - 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. libressltd/lbpushcenter

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

libressltd/lbpushcenter
=======================

Push notification center

1.1(9y ago)02601MITPHP

Since Sep 2Pushed 9y agoCompare

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

READMEChangelogDependencies (4)Versions (124)Used By (1)

LBPushCenter
============

[](#lbpushcenter)

### Step 1: Install LBPushCenter

[](#step-1-install-lbpushcenter)

composer require libressltd/lbpushcenter

### Step 2: Add service provider to config/app.php

[](#step-2-add-service-provider-to-configappphp)

LIBRESSLtd\\LBPushCenter\\LBPushCenterServiceProvider::class,

and alias

'LBPushCenter' =&gt; LIBRESSLtd\\LBPushCenter\\Controllers\\LBPushCenter::class,

### Step 3: Publish vendor

[](#step-3-publish-vendor)

php artisan vendor:publish --tag=lbpushcenter --force

### Step 4: Using in master:

[](#step-4-using-in-master)

```
// Add a new device

Push_device::add($token, $app_name);

// Send message

$device = Push_device::findOrFail($device_id); // not device token

$device->send($title, $desc); // sync push

$device->send_in_queue($title, $desc) // must run in queue
```

### Service:

[](#service)

```
// register device badge
POST: /lbpushcenter/api/device
params: token, application

// remove badge
POST: /lbpushcenter/api/device//clear_badge

// disable / enable push
PUT: /lbpushcenter/api/device/

params: enabled = 0 / 1
```

### Command to run push

[](#command-to-run-push)

```
	// Add in app\Console\Kernel.php
    protected $commands = [
        Commands\LBPushCommand::class
    ];

    // Then run

    // Mode all
    php artisan lbpushcenter:push // --mode=all (allias)

    // Mode master
    php artisan lbpushcenter:push --mode=master

    // Mode worker
    php artisan lbpushcenter:push --mode=worker

    // Note
    // Run mode all for normal system (optional)
    // Run master first
    // Then run worker (run as many as you want)
```

### Migration:

[](#migration)

Remove and re-migrate the device table;

Using link: (should be added by lbsidemenu)

manage application (for example: ios-dev, ios-production, ios, etc ...): /lbpushcenter/application

manage application type (ios / fcm, need added manual): /lbpushcenter/application\_type

manage all device: /lbpushcenter/device

manage all notification: /lbpushcenter/notification

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 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 ~2 days

Total

123

Last Release

3308d ago

Major Versions

0.7.6 → 1.02017-04-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/450a41a5c6f7456d45c1bb20d3dc7542d969e3252657af09ebd19182cd08b0e2?d=identicon)[libressltd](/maintainers/libressltd)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/libressltd-lbpushcenter/health.svg)

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)

PHPackages © 2026

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