2017 © Pedro Peláez
 

library easychatl5

jQuery based chat for Laravel 5.1 with database storage and integration with your users table.

image

ronanflavio/easychatl5

jQuery based chat for Laravel 5.1 with database storage and integration with your users table.

  • Thursday, June 30, 2016
  • by ronanflavio
  • Repository
  • 4 Watchers
  • 7 Stars
  • 135 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 6 Versions
  • 1 % Grown

The README.md

Discontinued

This project was dicontinued., (*1)

Easychat for Laravel 5.x

Description

Chat based in jQuery for Laravel 5.0, 5.1 and 5.2. It was made with storage into a MySQL database and integration with the users' table from your project., (*2)

Instalation

Laravel 4.x

See how to [clicking here] (https://github.com/kikonuy/easychat)., (*3)

Laravel 5.x

To install Easychat, follow the steps bellow:, (*4)

1)

composer require ronanflavio/easychatl5

2)

If you're using Laravel 5.1 or 5.2, insert this line at the bottom of your providers list, into the config/app.php file., (*5)

'providers' => [
  ...
  Ronanflavio\Easychat\EasychatServiceProvider::class,
];

In case of 5.0 version, do like this:, (*6)

'providers' => [
  ...
  'Ronanflavio\Easychat\EasychatServiceProvider',
];

3)

You need to publish the package files. So, do the following:, (*7)

php artisan vendor:publish

The configurations files will be placed at: config/packages/Ronanflavio/Easychat. The migrations files will be placed at your root project folder, in the directory: migrations/Ronanflavio/Easychat. And the assets, will be placed at: public/packages/Ronanflavio/Easychat., (*8)

4)

To migrate the tables, do the following:, (*9)

php artisan migrate --path=migrations/Ronanflavio/Easychat

Those tables are necessary for your chat. All of them are prefixed with ec_ to distinguish it from your owner tables., (*10)

5)

Finally, insert into your app\Http\Middleware\VerifyCsrfToken.php file, the exception for easychat URIs, like this:, (*11)

    protected $except = [
         'easychat/*'
    ];

Configuration

When the package publish is done, the files will be placed at the direcoty: config\packages\Ronanflavio\Easychat. Navigate to there and map your Models and database tables into the tables.php file like the example bellow:, (*12)

'users' => array(

        /**
         * Set the Model name:
         */

        'model' => 'App\User',

        /**
         * Set the Table name:
         */

        'table' => 'usuarios',

        /**
         * Set the Fields names:
         */

        'id'         => 'id',
        'name'       => 'nome',
        'photo'      => null,
        'created_at' => 'created_at',
        'updated_at' => 'updated_at',
    ),

Details

The application is totally dependent of authenticate method from Laravel (Auth) and, of course, it's necessary that the user has been logged in into the system for it work., (*13)

The Versions

30/06 2016

dev-master

9999999-dev

jQuery based chat for Laravel 5.1 with database storage and integration with your users table.

  Sources   Download

MIT

The Requires

 

by Ronan Flavio

30/06 2016

1.1.2

1.1.2.0

jQuery based chat for Laravel 5.1 with database storage and integration with your users table.

  Sources   Download

MIT

The Requires

 

by Ronan Flavio

27/04 2016

1.1.1

1.1.1.0

jQuery based chat for Laravel 5.1 with database storage and integration with your users table.

  Sources   Download

MIT

The Requires

 

by Ronan Flavio

18/11 2015

1.1.0

1.1.0.0

jQuery based chat for Laravel 5.1 with database storage and integration with your users table.

  Sources   Download

MIT

The Requires

 

by Ronan Flavio

06/11 2015

1.0.1

1.0.1.0

jQuery based chat for Laravel 5.1 with database storage and integration with your users table.

  Sources   Download

MIT

The Requires

 

by Ronan Flavio

05/11 2015

1.0.0

1.0.0.0

jQuery based chat for Laravel 5.1 with database storage and integration with your users table.

  Sources   Download

MIT

The Requires

 

by Ronan Flavio