All Projects → sohelamin → Laravel Event Broadcast

sohelamin / Laravel Event Broadcast

Laravel event broadcasting with Node.js, Redis & Socket.io

Projects that are alternatives of or similar to Laravel Event Broadcast

Sockethub
A protocol gateway for the Web.
Stars: ✭ 329 (+6480%)
Mutual labels:  redis, socket-io
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
Reading
整理阅读过的干货文章, 帖子
Stars: ✭ 318 (+6260%)
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 Vue
运用laravel5.4 + vue2.0 + elementui
Stars: ✭ 276 (+5420%)
Mutual labels:  redis, laravel
Jianzhi V2
基于laravel5.5跟Vue2前后端分离的兼职平台
Stars: ✭ 327 (+6440%)
Mutual labels:  redis, 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

  1. Clone the the repository

    git clone https://github.com/sohelamin/laravel-event-broadcast.git
    
  2. 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

  1. Start your project

    php artisan serve
    
  2. Run socket.io using node

    node socket.js
    
  3. Broadcast your event via http://localhost:8000/broadcast & listen via http://localhost:8000/listen

Via Docker

  1. Start the docker's containers

    docker-compose up -d
    
  2. Migrate tables & Listen the queues

    docker exec -it laraveleventbroadcast_app_1 bash
    cd /var/www
    php artisan migrate
    php artisan queue:listen
    
  3. Run node

    docker exec -it laraveleventbroadcast_app_1 bash
    cd /var/www
    node socket.js
    
  4. Broadcast your event via http://localhost/broadcast & listen via http://localhost/listen

##Author

Sohel Amin

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].