https://github.com/bencoderus/subscriber
It demonstrates how messages are being published to multiple subscribers.
https://github.com/bencoderus/subscriber
Last synced: 3 months ago
JSON representation
It demonstrates how messages are being published to multiple subscribers.
- Host: GitHub
- URL: https://github.com/bencoderus/subscriber
- Owner: bencoderus
- Created: 2021-05-09T10:21:42.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-10T08:21:56.000Z (about 4 years ago)
- Last Synced: 2025-01-24T08:31:29.145Z (5 months ago)
- Language: PHP
- Size: 74.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Implementation of a notification subscription feature using a queue on Laravel.
### Installation
```bash
cp .env.example .env
``````bash
composer install
``````bash
php artisan key:generate
```Configure your database credentials then run,
```bash
php artisan migrate
```### Usage
By default, the system seeds some topics for testing subscription and publishing.
Run Queue
```bash
php artisan queue:work
```Serve application
```bash
php artisan serve
```Run automated test
```bash
php artisan test
```