Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

WhatDaEx/Sockets

Open more actions menu

Repository files navigation

Sockets

Demo code for implementing Event Broadcasting with Laravel 5.1 and Sockets.io, based on the Taylor Otwell's video.

Requirements

  • How to setup a project on homestead

Installation

To install this demo, clone the repository, create a new homestead site and run these commands in homestead:

  • Run composer install
  • Run npm install
  • Run node socket.js

There are two routes: / and /event, open them in two different browser tab, reload /event and you will see the web socket in action!

Technologies:

  • Laravel 5.1
  • NodeJS
  • Socket.io
  • VueJS

Concepts:

  • Events
  • Event broadcasting
  • Web sockets

Resources

About

Event broadcasting with Laravel 5.1 and Socket.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.