sohelamin / Laravel Event Broadcast
Laravel event broadcasting with Node.js, Redis & Socket.io
Projects that are alternatives of or similar to Laravel Event Broadcast
Laravel Relationship Events
Missing relationship events for Laravel
Stars: ✭ 383 (+7560%)
Mutual labels: events, laravel
Laravel Swoole
High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.
Stars: ✭ 3,726 (+74420%)
Mutual labels: laravel, socket-io
Attendize
Attendize is an open-source ticket selling and event management platform built on Laravel.
Stars: ✭ 3,285 (+65600%)
Mutual labels: events, laravel
Laravel Visits
📊 Laravel Visits is a counter that can be attached to any model to track its visits using Redis or Eloquent. (with tags, IP protection and caching)
Stars: ✭ 582 (+11540%)
Mutual labels: redis, laravel
Node Tutorial
☺️Some of the node tutorial -《Node学习笔记》
Stars: ✭ 364 (+7180%)
Mutual labels: redis, socket-io
SocketIOUnity
A Wrapper for socket.io-client-csharp to work with Unity.
Stars: ✭ 69 (+1280%)
Mutual labels: events, socket-io
Laravel Eloquent Query Cache
Adding cache on your Laravel Eloquent queries' results is now a breeze.
Stars: ✭ 529 (+10480%)
Mutual labels: redis, laravel
Cms
Decoupled CMS for any Laravel app, gain control of: pages, blogs, galleries, events, images, custom modules and more.
Stars: ✭ 498 (+9860%)
Mutual labels: events, laravel
Endoflife.date
Informative site with EoL dates of everything
Stars: ✭ 296 (+5820%)
Mutual labels: redis, laravel
Laravel Google Calendar
Manage events on a Google Calendar
Stars: ✭ 787 (+15640%)
Mutual labels: events, laravel
Laravel Transactional Events
Transaction-aware Event Dispatcher for Laravel
Stars: ✭ 263 (+5160%)
Mutual labels: events, laravel
Stacker
Stacker - The environment for local web development, ready for use.
Stars: ✭ 356 (+7020%)
Mutual labels: redis, laravel
Cqrs Clean Eventual Consistency
CQRS, using Clean Architecture, multiple databases and Eventual Consistency
Stars: ✭ 247 (+4840%)
Mutual labels: events, redis
ikisocket
🧬 WebSocket wrapper with event management for Fiber https://github.com/gofiber/fiber. Based on Fiber WebSocket and inspired by Socket.io
Stars: ✭ 92 (+1740%)
Mutual labels: events, socket-io
Lada Cache
A Redis based, fully automated and scalable database cache layer for Laravel
Stars: ✭ 424 (+8380%)
Mutual labels: redis, laravel
Laravel Video Chat
Laravel Video Chat using Socket.IO and WebRTC
Stars: ✭ 646 (+12820%)
Mutual labels: laravel, socket-io
Laravel Event Broadcasting Example
Laravel event broadcasting with Node.js, Redis & Socket.io
Requirements
Node.js
Redis
Socket.io
Installation
-
Clone the the repository
git clone https://github.com/sohelamin/laravel-event-broadcast.git
-
Navigate to your project directory and run
composer install npm install php -r "file_exists('.env') || copy('.env.example', '.env');" php artisan key:generate
Usage
-
Start your project
php artisan serve
-
Run socket.io using node
node socket.js
-
Broadcast your event via
http://localhost:8000/broadcast
& listen viahttp://localhost:8000/listen
Via Docker
-
Start the docker's containers
docker-compose up -d
-
Migrate tables & Listen the queues
docker exec -it laraveleventbroadcast_app_1 bash cd /var/www php artisan migrate php artisan queue:listen
-
Run node
docker exec -it laraveleventbroadcast_app_1 bash cd /var/www node socket.js
-
Broadcast your event via
http://localhost/broadcast
& listen viahttp://localhost/listen
##Author
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].