A simple example on how to use Pusher.com and Laravel
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
storage
tests
.env
.env.example
.gitattributes
.gitignore
artisan
composer.json
composer.lock
gulpfile.js
package.json
phpunit.xml
readme.md
server.php

readme.md

Installation

Clone the repository, add your Pusher.com credentials in .env and resources/views/home.blade.php, check the Settings (Cluster/Server etc.) in config/broadcasting.php and start the Server from the command Line with php artisan serve.

Visit http://localhost:8000 in one tab, open another one and hit the url http://localhost:8000/pusher. You should see a message being added to the list on your first tab via Websockets!

Misc

For questions, just tweet me via @remoblaser and i will get back to you.