Skip to content

If you are looking to create a real time chat application with php then you are in perfect place. I have created this real time chat applicatyion with php (Laravel) and.

Notifications You must be signed in to change notification settings

samironbarai/laravel_chat

Repository files navigation

Laravel realtime chatting application

Very simple php based chatting application

Installation

  1. Clone this repo
https://github.com/samironbarai/laravel_chat.git
  1. Install composer packages
cd laravel_chat
$ composer install
  1. Create and setup .env file
make a copy of .env.example and rename to .env
$ php artisan key:generate
put database credentials in .env file
  1. Migrate and insert records
$ php artisan migrate
$ php artisan tinker
$ factory(App\User::class, 30)->create();
$ factory(App\Message::class, 500)->create();
  1. Create and setup pusher account
login to https://pusher.com/ and create new app
put pusher credentials to .env file
replace PUSHER_APP_KEY in your app.blade.php

var pusher = new Pusher('49f3ba8c9d3adab2613e', {
    cluster: 'ap2',
    forceTLS: true
});

About

If you are looking to create a real time chat application with php then you are in perfect place. I have created this real time chat applicatyion with php (Laravel) and.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published