itwri/laravel-dialogue-message

Provide message service. Depend on laravel framework.

dev-master 2024-05-15 16:19 UTC

This package is auto-updated.

Last update: 2024-05-15 16:26:16 UTC


README

version 1.0 message service

Installation

laravel-dialogue-message can be installed via composer:

composer require itwri/laravel-dialogue-message

The package will automatically register a service provider.

This package comes with a migration to store dialogue and message's data. You can publish the migration file using:

php artisan vendor:publish --provider="Itwri\DialogueMessageService\DialogueMessageServiceProvider" --tag="migrations"

Run the migrations with:

php artisan migrate

Next, you need to publish the dialogue configuration file:

php artisan vendor:publish --provider="Itwri\DialogueMessageService\DialogueMessageServiceProvider" --tag="config"

Other

In your config/app.php add Prettus\Repository\Providers\RepositoryServiceProvider::class to the end of the providers array:

'providers' => [
    ...
    Itwri\DialogueMessageService\DialogueMessageServiceProvider::class,
],