GithubHelp home page GithubHelp logo

mohamed-abdul-fattah / laravel-chat-messenger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from baklysystems/laravel-chat-messenger

2.0 1.0 1.0 724 KB

A laravel Chat that is just like facebook chat

License: MIT License

PHP 58.06% CSS 5.85% JavaScript 22.15% HTML 13.94%

laravel-chat-messenger's Introduction

Laravel Chat Messenger

A Laravel JQuery chat that is just like Facebook chat

Installation

Laravel Messenger supports Laravel 5.3 and higher.

Package

Require via composer

$ composer require baklysystems/laravel-chat-messenger

In config/app.php file

'providers' => [
    ...
    BaklySystems\LaravelMessenger\LaravelMessengerServiceProvider::class,
    ...
];

'aliases' => [
    ...
    'Messenger' => BaklySystems\LaravelMessenger\Facades\Messenger::class,
    ...
];

Laravel Messenger Files

Then, run php artisan vendor:publish --tag=messenger --force to publish the config file, MessageController and assets.

Laravel Messenger Styles and Scripts

Make sure to add @yield('css-styles') in your app/master head section and @yield('js-scripts') to your app/master scripts section, or edit section naming in view/vendor/messenger/messenger.blade.php

JQuery is required for the messenger script.

Laravel Messenger Pusher

Add your pusher keys in config/messenger.php file.

And voila, you can start conversation with any user by linking to your-domain.com/messenger/t/{userId}.

Customization

Migrations

To publish and edit messenger migrations, run the publish command with messenger-migrations tag.

$ php artisan vendor:publish --tag messenger-migrations --force

Views

To publish and edit messenger views, run the publish command with messenger-views tag.

$ php artisan vendor:publish --tag messenger-views --force

TODO

  • emotions.
  • upload photos.
  • Attach files.
  • Show date before every conversation beginning.
  • paginate and load threads.
  • Laravel Messenger chatbox.
  • Unauthenticated chatbox to message customer service.

laravel-chat-messenger's People

Contributors

elbakly avatar mohamed-abdul-fattah avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

wdevstudio

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.