In Laravel 5.1, the framework includes functionality called broadcasting events that makes it easy to create real-time apps in PHP. With this new functionality, an app can publish events to various cloud-based real-time PubSub solutions, like Pusher, or to Redis.
In this article, we examine a simple todo app and turn it into a real-time app using Laravel’s broadcasting events.
Download and Install App
The easiest way to get started is to spin up an instance of Homestead Improved. If you don’t want to use Homestead Improved, you must have git and composer installed on your system.
We will put the starter code in a directory called todo-app by cloning a git repo.
Continue reading %Real-time Apps with Laravel 5.1 and Event Broadcasting%
by Christopher Thomas via SitePoint
No comments:
Post a Comment