PHPackages                             arkcode/chat-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. arkcode/chat-laravel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

arkcode/chat-laravel
====================

Live chat widget for Laravel that also includes multi-user chat, group permissions, customer support chat &amp; more.

1.0.2(2y ago)07[1 issues](https://github.com/Sirajunnasihin/Chat-Laravel/issues)MITPHP

Since Nov 27Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Sirajunnasihin/Chat-Laravel)[ Packagist](https://packagist.org/packages/arkcode/chat-laravel)[ Docs](https://github.com/Sirajunnasihin/Chat-Laravel)[ RSS](/packages/arkcode-chat-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (6)Used By (0)

AddChat Laravel
===============

[](#addchat-laravel)

Laravel Installation
====================

[](#laravel-installation)

AddChat can be installed via composer. Smooth... 🍻

Prerequisites
-------------

[](#prerequisites)

- Laravel version 5.5 / 5.6 / 5.7 / 5.8 / 6.x
- Make sure to install AddChat package on a **Fresh** or **Existing** Laravel application.
- We also assume that you've setup the database.
- If you're running MySql version older than &lt; 5.7 then disable strict mode in Laravel `config/database.php` `'strict' => false`

Install
-------

[](#install)

1. If installing AddChat on an existing Laravel application and you already have **Auth** system then **skip this step**

    If installing on a **Fresh Laravel application** then run

    **For Laravel 5.5 to 5.8**

    ```
    php artisan make:auth

    php artisan migrate
    ```

    **For Laravel 6.x**

    ```
    composer require laravel/ui --dev

    php artisan ui vue --auth

    npm install && npm run dev

    php artisan migrate
    ```
2. Unzip the `addchat-laravel-pro.zip` file, copy the `addchat-laravel-pro` folder and place it in your Laravel application root directory.

    - The folder name must be `addchat-laravel-pro` in your Laravel website directory.
3. Open your Laravel application `composer.json` file and paste the below code in the end (right before last curly `}` bracket)

    ```
    "repositories": [{
        "type": "path",
        "url": "addchat-laravel-pro/"
    }]
    ```
4. Install AddChat Laravel Pro via Composer

    ```
    composer require arkcode/chat-laravel
    ```
5. Run AddChat install command

    ```
    php artisan addchat:install
    ```
6. Open the common layout file, mostly the common layout file is the file which contains the HTML &amp; BODY tags.

    - Copy AddChat CSS code and paste it right before closing **&lt;/head&gt;** tag

        ```
