Skip to content

3bkry/laravel-firebase-chatroom-example

 
 

Repository files navigation

Laravel 5 & Firebase Chatroom Example

What is this?

This is a project experiment to create a chatroom app with Laravel 5.6 and Firebase Realtime Database. This project uses a 'laravel-firebase-sync' package to synchronize models with data on firebase.

Requirements

  • Laravel 5.6
  • Laravel Firebase Sync by @mpociot

Installation

  • Clone this repository
 git clone https://github.com/nauvalazhar/laravel-firebase-chatroom-example.git
  • Run these commands
cd laravel-firebase-chatroom-example
composer install

# create .env file
cp .env.example .env

# migrate database
php artisan key:generate

# Set your database connection in .env file
php artisan migrate
  • Go to the Firebase Console and create a new project
  • Open the config/services.php file and adjust the details of your firebase project or see the instructions here
  • Done

License

MIT License

About

Laravel 5 & Firebase Chatroom Example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 87.7%
  • HTML 11.7%
  • Vue 0.6%