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.
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
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.
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package frutdev/laravchat contains the following files
Loading the files please wait ...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.