Git Product home page Git Product logo

talk-example's Introduction

Talk Example

This is a demo project for Laravel-Talk package. You can learn from here how to use Talk.

Requirements

  • PHP 5.5.9 >=
  • Composer

Installation

There are no extra process for installation. You may install it as per laravel installation system. Open terminal, goto this project and run these command.

composer install

Configurations

After complete installation process you have to configure you database credentials. First copy .env.example as .env

cp .env.example .env

To generate key please run this

php artisan key:generate

Now open .env file and write database informations. Then run migrate from you terminal

php artisan migrate

When database migration then you have to run database seed command.

php artisan db:seed

Thats it

For Realtime

If you want to get realtime service from this app you have to configure it first. Goto config/talk.php and enable broadcast. After enabling broadcast please set the Pusher app credentials in pusher section.

return [
    'user' => [
        'model' => 'App\User'
    ],
    'broadcast' => [
        'enable' => false,
        'app_name' => 'talk-example',
        'pusher' => [
            'app_id'        => env('PUSHER_APP_ID'),
            'app_key'       => env('PUSHER_KEY'),
            'app_secret'    => env('PUSHER_SECRET')
        ]
    ]
];

Its recommended to setup redis for this app to get better performance in realtime messaging.

Before starting chat you have to start queue listen.

php artisan queue:listen

Run

Run this command in your terminal.

php artisan serve

Now open you project in browser and goto http://localhost:8000. Then login with the given user credentials

email: [email protected] password: 123456

So, Lets start you journey :)

Here is a project screenshot that was developed by Talk.

Talk-Example Screenshot

Template Credit

Template - Live chat window widget by SergioGalindo

talk-example's People

Contributors

nahid avatar h4yfans avatar nafiesl avatar

Watchers

Folk avatar  avatar

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.