Laravel messenger demo app using rtippin/messenger. Private and group threads with real-time messaging, reactions, attachments, calling, chat bots, and more!
redis
for drivers, which our default .env.example
has set.Janus Server
.pusher.com
by default for our websocket implementation, however you may choose to use the drop-in replacement laravel-websockets
git clone [email protected]:RTippin/messenger-demo.git
composer install
.env.example
to .env
and configure your environment, including your pusher keys if you use pusher.DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=1234
DB_DATABASE=demo
DB_USERNAME=root
DB_PASSWORD=password
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=
MESSENGER_SOCKET_PUSHER=true
MESSENGER_SOCKET_KEY="${PUSHER_APP_KEY}"
MESSENGER_SOCKET_CLUSTER="${PUSHER_APP_CLUSTER}"
#etc
APP_KEY
for you, as well as migrating fresh and downloading our documentation files.
WIPE
any data in your database as it runs migrate:fresh
under the hood.php artisan demo:install
php artisan serve
php artisan queue:work --queue=messenger,messenger-bots
[email protected]
messenger
messenger
password as well