Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emmyaniedev/link-up-laravel-backend
https://github.com/emmyaniedev/link-up-laravel-backend
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/emmyaniedev/link-up-laravel-backend
- Owner: EmmyAnieDev
- Created: 2025-01-17T16:59:12.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2025-01-24T22:26:46.000Z (17 days ago)
- Last Synced: 2025-01-24T23:23:03.975Z (17 days ago)
- Language: PHP
- Size: 694 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Broadcasting Chat Setup
## Things to Remember
### 1. Routes/Channels
- Define your broadcast channels in `routes/channels.php`.
### 2. MessageEvent
- Ensure that your `MessageEvent` implements the `ShouldQueue` interface to queue the event.
### 3. Configuration
- Update the `config/broadcast.php` configuration file as needed.
### 4. Queueing
- Run the queue worker with the following command:
```bash
php artisan queue:work
```- Alternatively, you can set the QUEUE_CONNECTION to sync for immediate execution:
env_file
QUEUE_CONNECTION=sync