Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wqqas1/message


https://github.com/wqqas1/message

Last synced: 12 days ago
JSON representation

Awesome Lists containing this project

README

        

This is a Laravel 5 package that provides message management facility for lavalite framework.

## Installation

Begin by installing this package through Composer. Edit your project's `composer.json` file to require `lavalite/message`.

"lavalite/message": "dev-master"

Next, update Composer from the Terminal:

composer update

Once this operation completes execute below cammnds in command line to finalize installation.

```php
Litepie\Message\Providers\MessageServiceProvider::class,

```

And also add it to alias

```php
'Message' => Litepie\Message\Facades\Message::class,
```

Use the below commands for publishing

Migration and seeds

php artisan vendor:publish --provider="Litepie\Message\Providers\MessageServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="Litepie\Message\Providers\MessageServiceProvider" --tag="seeds"

Configuration

php artisan vendor:publish --provider="Litepie\Message\Providers\MessageServiceProvider" --tag="config"

Language

php artisan vendor:publish --provider="Litepie\Message\Providers\MessageServiceProvider" --tag="lang"

Views public and admin

php artisan vendor:publish --provider="Litepie\Message\Providers\MessageServiceProvider" --tag="view-public"
php artisan vendor:publish --provider="Litepie\Message\Providers\MessageServiceProvider" --tag="view-admin"

Publish admin views only if it is necessary.

## Usage