ronasit/laravel-chat

This package implements chat functionality based on push notifications.

0.0.3-beta 2024-12-12 08:11 UTC

README

Coverage Status

Introduction

This plugin adds the ability for users to work with chat functionalities in a Laravel application.

Installation

  1. Install the package using the following command:
composer require ronasit/laravel-chat
  1. Publish the package configuration:
php artisan vendor:publish --provider=RonasIT\\Chat\\ChatServiceProvider
  1. For Laravel <= 5.5 add ronasit\Chat\ChatServiceProvider::class to the app.providers list in config.
  2. Set your project's User model to the chat.classes.user_model config.

Integration with LaravelSwagger

This package includes an OpenAPI documentation file. To include it in your project's documentation, you need to register it in the auto-doc.additional_paths config:

vendor/ronasit/laravel-chat/documentation.json

Contributing

Thank you for considering contributing to the Laravel Chat plugin! The contribution guide can be found in the Contributing guide.

License

Laravel Chat plugin is open-sourced software licensed under the MIT license.