Download the PHP package frutdev/laravchat without Composer
On this page you can find all versions of the php package frutdev/laravchat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravchat
Laravchat
Laravchat is a real-time chat package that will enable logged in users in an application to start conersations with other users and chat in real-time for Laravel 5.4+. This package works with Laravel, Vuejs, Pusher and Laravel Echo.
Prerequisite
You will need to have Pusher keys. Go to pusher.com and register for free, create an app and you will get your keys for the package.
Installing
To install the package just run
After this you'll have to have some things, follow these instructions:
First of all you will need to run
This package uses package so make sure to run, if you don't have it already:
IMPORTANT
Configure your file with your Pusher Key , ,.
Within the file also modify the field with so it should look like this:
In add the following to the in
Run
Run
And select
After doing this add the following line to your the in
Add on top of your
And on the bottom add
Note that and will be the same ones you put in your The will be outside your default which surrounds all your application content.
ALMOST THERE!
Uncomment the following line in
This package assumes your User model is in Add to your User model so it should look like this:
Run
Go to your localhost, login and enter and you'll be able to create chats with any user.
Versioning
V 1.0.0
Authors
- Carlos Frutos - Developer
Notes
- If you have recomendations for a better UI I'm all ears!
- First package so if there are things that can be upgraded for installation please tell me.
- Still more things to come and upgrade such as conversation within more than 2 people, add people to conversation and more.
TODO
- Add emojis
- Conversations between more than 2 users
- Any other suggestion?