Skip to content

About

A demonstration of how to add a one-to-one chat with Stream chat to your Laravel app

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Add one to one chat to your Laravel app using Stream Chat

Samle

Setting up the app

  1. Clone the project to your system:
git clone https://github.com/dongido001/laravel-one-to-one-stream-chat.git
  1. Install dependencies

    a. PHP dependencies

    composer install

    b. JavaScript dependencies

        yarn install
  2. Run build

yarn run dev
  1. Set up the database
cp .env.example .env

a. Then update the .env file with your correct database details.

b. Update your Stream Chat API key

STREAM_API_KEY=<YOUR STREAM API KEY>
STREAM_API_SECRET=<YOUR STREAM API SECRET>

MIX_STREAM_API_KEY="${STREAM_API_KEY}"
MIX_STREAM_API_SECRET="${STREAM_API_SECRET}"
  1. Run migration
php artisan migrate
  1. Serve the app
php artisan serve

Now visit the development URL to start chatting: http://localhost:8000

Built with

  1. Vue.js
  2. Laravel
  3. Stream Chat

About

A demonstration of how to add a one-to-one chat with Stream chat to your Laravel app

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages