I’ve been hearing a lot of noise about Firebase recently. Lots of good noise. When I first started making this article I wanted to make use of Firehose which is an open source alternative to Firebase.
Setting up the API with Laravel was a breeze. The only stumbling block was with my Ubuntu Vagrant box which installed a version of Redis which was too old (Firehose requries 2.6+ where as Ubuntu’s package manager only has 2.2). This was a pretty simple to fix and if you are interested in Firehose then you can find instructions for getting the latest Redis here.
Anyway I started building my Ember application and I hit a brick wall. Firehose touts Ember support out of the box but I can see literally no documentation on how to get started with it.
I decided to switch to Pusher which I’m already familiar with. Unfortunately Pusher isn’t open source but it does have a reasonable free package. This allowed me to continue the use of my Laravel application where as switching to Firebase would not. Also, there is already a pretty amazing Firebase Ember tutorial here so it seems pointless to do the same thing.
This article will show you a very bare bones chat system with Laravel 5, Ember JS 1.10 and Pusher.