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

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

tzsk/push
=========

Pushwoosh for Laravel

1.1(9y ago)46322[2 PRs](https://github.com/tzsk/push/pulls)MITPHPPHP ~5.6|~7.0

Since Nov 25Pushed 5y ago2 watchersCompare

[ Source](https://github.com/tzsk/push)[ Packagist](https://packagist.org/packages/tzsk/push)[ Docs](https://github.com/tzsk/push)[ RSS](/packages/tzsk-push/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (4)Versions (5)Used By (0)

push
====

[](#push)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0d659dfdd0860b46eb96deca9bffe739f6d3b0de9e7314318ecc61c2e4f21f2f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f747a736b2f707573682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tzsk/push)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Code Climate](https://camo.githubusercontent.com/17b29ae151852cb5a9d7b5b3a7c1a555dbc5c6d1e2e330faf0d753d9b62c3270/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f747a736b2f707573682f6261646765732f6770612e737667)](https://codeclimate.com/github/tzsk/push)[![Quality Score](https://camo.githubusercontent.com/dff4922b8c668356753f6501afe466b9151a7519b2cc0f72b5d866f90830ed6a/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f747a736b2f707573682e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tzsk/push)[![Total Downloads](https://camo.githubusercontent.com/21afcbf3292d76884a432f770723e999602698c39afc2aae59f48f0f23809440/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f747a736b2f707573682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tzsk/push)

This is a `Laravel 5 Package` for [**Pushwoosh**](https://www.pushwoosh.com) Notification Integration. This package currently supports `IOS & Android` other support is coming soon. This package is built upon [gomoob/php-pushwoosh](https://github.com/gomoob/php-pushwoosh) package. With feew changes and Laravel 5 Compatibility.

This package is compatible with Laravel 5.2 or Higher. Old version support (Laravel 5.1.\*) is coming soon for those who are still using PHP 5.4.\*

Install
-------

[](#install)

Via Composer

```
$ composer require tzsk/push
```

Configure
---------

[](#configure)

`config/app.php`

```
'providers' => [
    ...
    Tzsk\Push\Provider\PushServiceProvider::class,
    ...
],

'aliases' => [
    ...
    'Push' => Tzsk\Push\Facade\Push::class,
    ...
],
```

To publish the Configuration file in `config/push.php` Run:

```
php artisan vendor:publish
```

Usage
-----

[](#usage)

```
use Tzsk\Push\Facade\Push;
...
$response = Push::send("Message Text", function($push) {
    $push->setToken("Device Token");
    # OR...
    $push->setTokens(["Device 1", "Device 2"])
        ->setTitle("You have a new notification") # For Android.
        ->setBody("Message Text") # To override the Message. Optional.
        ->setBadge(1) # Default: 1.
        ->setPayload(["type" => "ANYTHING", "data" => [] ]) # Default: []
        ->setIcon("http://path/to/icon.png") # For Android.
        ->setSmallIcon("pw_notification.png") # For Android.
        ->setBanner("http://path/to/banner.png") # For Android. Optional.
        ->setSound("res/sound/file/path") # Default: "default"
        ->setPriority(1) # Default: 1
        ->setVibration(1) # Default: 1
        ->setIbc("#ffffff"); # Icon Background Color. Default: '#ffffff'
});

if ($response->isOk()) {
    # Successfully Sent.
} else {
    # Something went wrong.
    echo $response->getStatusMessage(); # Get failure message.
}
...
```

Change log
----------

[](#change-log)

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

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

[](#contributing)

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

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Kazi Mainuddin Ahmed](https://github.com/tzsk)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

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

Every ~0 days

Total

2

Last Release

3458d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47768513?v=4)[Kazi Manzur Ahmed](/maintainers/kazimahmed)[@kazimahmed](https://github.com/kazimahmed)

---

Top Contributors

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

---

Tags

laravelnotificationpushwooshpushtzsk

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[berkayk/onesignal-laravel

OneSignal Push Wrapper Laravel

5295.9M12](/packages/berkayk-onesignal-laravel)[edujugon/push-notification

Laravel Package to send push notifications to Android and IOS devices. (GCM,FCM,APN)

4891.4M1](/packages/edujugon-push-notification)[tzsk/sms

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

320244.3k6](/packages/tzsk-sms)[ladumor/one-signal

Laravel Wrapper for OneSignal.

125331.3k](/packages/ladumor-one-signal)[hoy/pushwoosh

A Pushwoosh bridge for Laravel

3111.1k](/packages/hoy-pushwoosh)[turbo124/laravel-push-notification

Laravel package to send push notifications to mobile devices (apns, gcm)

1157.9k](/packages/turbo124-laravel-push-notification)

PHPackages © 2026

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