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

Pusher Bundle Laravel Package

endroid/pusher-bundle

View on GitHub
Deep Wiki
Context7

Pusher Bundle

By endroid

Latest Stable Version Build Status Total Downloads Monthly Downloads License

This bundle enables easy integration of real-time features provided by Pusher.

knpbundles.com

Requirements

Installation

Use Composer to install the bundle.

$ composer require endroid/pusher-bundle

Then enable the bundle via the kernel.

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = [
        // ...
        new Endroid\PusherBundle\EndroidPusherBundle(),
    ];
}

Configuration

config.yml

endroid_pusher:
    app_id: ...
    key: ...
    secret: ...

Usage

<?php

$pusher = $container->get('endroid_pusher.pusher');
$pusher->trigger('my_channel', 'my_event', ['message' => 'my_message']);

The service returns the Pusher object as defined by the Pusher PHP Library.

Versioning

Version numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatibility breaking changes will be kept to a minimum but be aware that these can occur. Lock your dependencies for production and test your code when upgrading.

License

This bundle is under the MIT license. For the full copyright and license information please view the LICENSE file that was distributed with this source code.

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.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table