Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Pushe Notification Bundle Laravel Package

borsaco/pushe-notification-bundle

View on GitHub
Deep Wiki
Context7

PusheNotificationBundle

PHP pushe.co API wrapper for Symfony applications

Install

Via Composer

composer require borsaco/pushe-notification-bundle

Initialise

first initialise with this code and token you get from http://poushe.co

Edit your app/AppKernel.php to register the bundle in the registerBundles() method as above:

class AppKernel extends Kernel
{

    public function registerBundles()
    {
        $bundles = array(
            // ...
            // register the bundle here
            new Borsaco\PusheNotificationBundle\PusheNotificationBundle()
        );
    }
}

then you have to config token for send notification you can get token from pushe.co and add configure in your config file:

pushe_notification:
    token: "7fb1***********29b464c"

Usage

Wherever you have access to the service container :

$pushNotification = $this->container->get('pushe_notification');
$pushNotification->send();

More

You can find more help in https://github.com/Borsaco/PusheNotification

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib