PHPackages                             whatdafox/laravel-google-pubsub-broadcaster - 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. whatdafox/laravel-google-pubsub-broadcaster

AbandonedArchivedLibrary

whatdafox/laravel-google-pubsub-broadcaster
===========================================

Broadcast events to Google PubSub with Laravel

002PHP

Since Jun 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/WhatDaFox/Laravel-Google-PubSub-Broadcaster)[ Packagist](https://packagist.org/packages/whatdafox/laravel-google-pubsub-broadcaster)[ RSS](/packages/whatdafox-laravel-google-pubsub-broadcaster/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Google Pub/Sub Broadcaster
==================================

[](#laravel-google-pubsub-broadcaster)

Easily broadcast events to Google Pub/Sub with Laravel.

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

[](#installation)

```
$ composer require whatdafox/laravel-google-pubsub-broadcaster
```

Laravel will detect the service provider automatically.

Usage
-----

[](#usage)

Update your `.env` file:

```
BROADCAST_DRIVER=google-pubsub
GOOGLE_CLOUD_PROJECT=dev-moment-244207
GOOGLE_APPLICATION_CREDENTIALS=gcloud.json

```

Create an event and enable broadcasting:

```
