PHPackages                             pendonl/laravel-notifications-channel-pushed - 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. pendonl/laravel-notifications-channel-pushed

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

pendonl/laravel-notifications-channel-pushed
============================================

Laravel 5.3+ Notifications Pushed Driver

1331[1 PRs](https://github.com/PendoNL/laravel-notifications-channel-pushed/pulls)PHPCI failing

Since Apr 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/PendoNL/laravel-notifications-channel-pushed)[ Packagist](https://packagist.org/packages/pendonl/laravel-notifications-channel-pushed)[ RSS](/packages/pendonl-laravel-notifications-channel-pushed/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Pushed.co notification channel for Laravel 5.3+
===============================================

[](#pushedco-notification-channel-for-laravel-53)

This package makes it easy to send notifications using [Pushed](http://pushed.co) with Laravel 5.3+.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Pushed service](#setting-up-the-pushed-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

To get the latest version of Pushed Notification channel for Laravel 5.3, simply require the project using [Composer](https://getcomposer.org):

```
$ composer require pendonl/laravel-notifications-channel-pushed
```

Or you can manually update your require block and run `composer update` if you choose so:

```
{
    "require": {
        "pendonl/laravel-notifications-channel-pushed": "^1.0"
    }
}
```

You will also need to install `guzzlehttp/guzzle` http client to send request to Pushed API.

If you use Laravel 5.5 or higher, you don't need the following step. If not, once package is installed, you need to register the service provider. Open up `config/app.php` and add the following to the `providers` key.

- `PendoNL\LaravelNotificationsChannelPushed\PushedServiceProvider::class`

### Setting up the Pushed service

[](#setting-up-the-pushed-service)

Login to [Pushed](#installation), create a new app or edit an existing one. Navigate to `App Settings` and find the App Key and App Secret around the bottom of the page. You need to put it to `config/services.php` configuration file. You may copy the example configuration below to get started:

```
'pushed' => [
    'app_key' => env('PUSHED_APP_KEY', ''),
    'app_secret' => env('PUSHED_APP_SECRET', '')
]
```

Put these Environment keys in the .env file of your project

```
PUSHED_APP_KEY=
PUSHED_APP_SECRET=

```

Usage
-----

[](#usage)

First of, create or edit a Notification of your choice. In order to send notifications using this channel you have to specify a `toPushed` method on your Notification.

### The `toPushed` Method

[](#the-topushed-method)

```
/**
 * Get the Pushed representation of the notification.
 *
 * @param  mixed  $notifiable
 * @return \PendoNL\LaravelNotificationsChannelPushed\PushedMessage
 */
public function toPushed($notifiable)
{
    $url = url('/thanks');

    return PushedMessage::create('Thank you for using our application!')
        ->setUrl($url)
        ->toApp();
}
```

#### Available Message methods

[](#available-message-methods)

- `setUrl($url)`: (string) adds a URL action to the notification
- `toApp()`: sends the notification to all users registered to your app
- `toChannel($alias)`: (string) sends the notification to a given channel alias
- `toUser($accessToken)`: (string) sends the notification to a user that registered to your app using OAuth
- `toPushedId($pushedId)`: (string) sends the notification directly to a user's Pushed ID

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

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

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

[](#contributing)

Please feel free to Fork this project and make improvements. Create a Pull request with sufficient information about what improvements or changes you've made.

Credits
-------

[](#credits)

- [Pushed.co](https://pushed.co/)
- [laravel-notification-channels](https://github.com/laravel-notification-channels)

License
-------

[](#license)

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

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/pendonl-laravel-notifications-channel-pushed/health.svg)

```
[![Health](https://phpackages.com/badges/pendonl-laravel-notifications-channel-pushed/health.svg)](https://phpackages.com/packages/pendonl-laravel-notifications-channel-pushed)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

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

PHPackages © 2026

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