Download the PHP package sevenspan/laravel-chat without Composer

On this page you can find all versions of the php package sevenspan/laravel-chat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

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.
Please rate this library. Is it a good library?

Informations about the package laravel-chat

Laravel Chat

The Laravel Chat package simplifies one-to-one and group chat integration facilitates document sharing within chats, manages read and unread message counts, and supports document uploads to both local and AWS S3 storage

Index

Prerequisites

Before you get started, make sure you have the following prerequisites installed:

Features

Installation

To install this package, use Composer:

Configurations

To configure the package, publish the migration file with the following command:

This command will publish the configuration file chat.php to your project's config directories, respectively.

If you have cached configurations locally, clear the config cache using one of these commands:

After publishing the migration and configuring, create the required tables for this package by running:

To configure message body encryption add these key on .env file.

Usage

Once you have installed the package, you can start using its features in your Laravel application. Here's a brief overview of how to use some of the main features:

1. List Channels

Use the list method to get all channels.

2. Detail of Channel

Use the detail method to get the detail of channel.

3. Create Channel

Use the create method to create the new channel.

4. Update Channel

Use the update method to update the channel details.

5. Delete Channel

Use the delete method to delete the channel.

6. Clear Channel History

Use the clearMessage method to clear the chat history.

7. List Message

Use the list method to get all messages of the channel.

8. Send Message

Use the send method to send a message.

[!NOTE] In the $data param either body or file is required.

9. Get Files Message

Use the getFiles method to document of the channel.

[!NOTE] $type param supported value is image or zip.

10. Delete Message

Use the delete method to delete the message.

11. Read Message

Use the read method to read the message of a channel.

[!NOTE] The messages that have a lesser value than $messageId will be read automatically.

12. User List

Use the list method to get a list of users and also search for the name of the user.

Credits

Contributing

If you encounter any issues or would like to contribute to this package, we welcome contributions from the community to improve and enhance this package. If you'd like to contribute, please follow our contribution guidelines:

License

This package is open-source software licensed under the MIT License. Feel free to use, modify, and distribute it according to the terms of the license.


All versions of laravel-chat with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1 || ^8.2
aws/aws-sdk-php Version ^3.283
league/flysystem-aws-s3-v3 Version ^3.0
spatie/laravel-sluggable Version ^3.5
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 sevenspan/laravel-chat contains the following files

Loading the files please wait ....