2017 © Pedro Peláez
 

library laravel-chat

Chat feature for laravel

image

hamedmehryar/laravel-chat

Chat feature for laravel

  • Saturday, December 26, 2015
  • by hamedmehryar
  • Repository
  • 5 Watchers
  • 21 Stars
  • 882 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Laravel Chat

This package will allow you to add a full user messaging system into your Laravel application., (*1)

Features

  • Thread based conversation
  • Invite other users to the thread

Common uses

  • Open threads (everyone can see everything)
  • Group messaging (only participants can see their threads)
  • One to one messaging (private or direct thread)

In composer.json:, (*2)

"require": {
    "hamedmehryar/laravel-chat" "0.0.0"
}

Run:, (*3)

composer update

Add the service provider to config/app.php under providers:, (*4)

'providers' => [
    Hamedmehryar\Chat\ChatServiceProvider::class,
]

Publish Assets, (*5)

php artisan vendor:publish --provider="Hamedmehryar\Chat\ChatServiceProvider"

Update config file to reference your User Model:, (*6)

config/chat.php

Migrate your database:, (*7)

php artisan migrate

Add the trait to your user model:, (*8)

use Hamedmehryar\Chat\Traits\Chatable;

class User extends Model {
    use Chatable;
}

Add smiley.css file to your page, (*9)

<link rel="stylesheet" href="../path/to/your/public/hamedmehryar/chat/smiley.css" >

Note: These examples use the laravelcollective/html package that is no longer included in Laravel 5 out of the box. Make sure you require this dependency in your composer.json file if you intend to use the example files., (*10)

Credits

Special Thanks

This package used cmgmyr/laravel-messenger as a starting point., (*11)

The Versions

26/12 2015

dev-master

9999999-dev

Chat feature for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel messaging chat user messaging

26/12 2015

1.0.1

1.0.1.0

Chat feature for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel messaging chat user messaging

09/12 2015

1.0.0

1.0.0.0

Chat feature for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel messaging chat user messaging

08/11 2015

0.0.0

0.0.0.0

Chat feature for laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel messaging chat user messaging