Download the PHP package dominservice/conversations without Composer

On this page you can find all versions of the php package dominservice/conversations. 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 conversations

[Packagist]() Latest Version Total Downloads

Laravel Conversations - Complete Messaging System

A powerful, flexible, and feature-rich messaging system for Laravel applications. Build real-time chat, messaging platforms, support systems, and communication tools with ease.

Features

Compatibility

Package Version Laravel Compatibility
1.* 5.6 - 9.*
2.* 8. - 11.
3.* 9. - 12.

Note: Version 3.0.0 introduces significant new features including real-time broadcasting, hooks system, API endpoints, and multilingual support.

Installation

1. Install via Composer

2. Publish Configuration and Migrations

This will publish all assets including config, migrations, translations, and routes. If you want to publish specific assets, you can use one of the following tags:

3. Run Migrations

4. Register Service Provider (Laravel < 5.5)

For Laravel 5.5 and above, the package will be auto-discovered. For older versions, add the service provider to config/app.php:

Note: If you're experiencing issues with the package not appearing in the vendor:publish list, make sure your application has properly registered the service provider. You can manually register it in your config/app.php file even if you're using Laravel 5.5+ to ensure it's loaded correctly.

Quick Start

Basic Usage

Real-time Chat

Enable broadcasting in your .env file:

Then use the broadcasting features:

Documentation

Comprehensive documentation is available to help you get the most out of the package:

Upgrading from laravel_chat

This package is a continuation of the dominservice/laravel_chat package. If you're upgrading:

  1. Install this package alongside the old one
  2. Run migrations (they include data migration scripts)
  3. Remove the old package

Always make a backup before performing this operation!

Testing

The package includes automated tests to ensure functionality works as expected. To run the tests:

Requirements

If you don't have the SQLite extension installed, you can install it on Ubuntu/Debian with:

On CentOS/RHEL:

Running Tests

Alternatively, you can use the provided script:

Continuous Integration

This package uses GitHub Actions for continuous integration and continuous deployment (CI/CD). The workflow includes:

The CI/CD pipeline ensures that all code changes are thoroughly tested before being merged into the main branch. You can see the workflow configuration in the .github/workflows/ci-cd.yml file.

Usage Examples

Here are some common usage examples. For more detailed examples, see the Examples & Usage Guide.

Creating and Managing Conversations

Reading Messages and Conversations

Message Status Management

Read Receipts and "Seen By" Functionality

API Endpoints for Read Receipts

The package provides API endpoints for retrieving read receipt information:

Real-time Read Receipts

When broadcasting is enabled, the message.read event includes information about who has read the message:

Message Reactions

The package supports emoji reactions to messages, similar to popular messaging platforms:

API Endpoints for Reactions

The package provides API endpoints for managing reactions:

Real-time Reaction Updates

When broadcasting is enabled, reaction events are broadcast in real-time:

Attachments

The package supports file attachments with various security and optimization features:

Message Editing

The package allows users to edit their messages within a configurable time window:

API Endpoints for Message Editing

The package provides API endpoints for message editing:

Real-time Message Editing Updates

When broadcasting is enabled, message edit events are broadcast in real-time:

Message Threading

The package supports threaded replies to messages, similar to popular messaging platforms:

API Endpoints for Message Threading

The package provides API endpoints for message threading:

Real-time Thread Updates

When broadcasting is enabled, new replies in a thread are broadcast as regular messages with a parent_id field:

Helper Functions

The package also provides helper functions for easier usage:

Why Choose Laravel Conversations?

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This package is open-sourced software licensed under the MIT license.

Credits

ko-fi


All versions of conversations with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
laravel/framework Version ^9|^10|^11|^12
intervention/image Version ^3.0
astrotomic/laravel-translatable Version ^11.0
nuwave/lighthouse Version ^6.0
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 dominservice/conversations contains the following files

Loading the files please wait ....