PHPackages                             elsayed85/addchat-laravel-pro - 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. elsayed85/addchat-laravel-pro

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

elsayed85/addchat-laravel-pro
=============================

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

091PHP

Since Oct 28Pushed 3y agoCompare

[ Source](https://github.com/elsayed85/addchat-laravel-pro)[ Packagist](https://packagist.org/packages/elsayed85/addchat-laravel-pro)[ RSS](/packages/elsayed85-addchat-laravel-pro/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

AddChat Laravel Pro
===================

[](#addchat-laravel-pro)

Welcome to AddChat Laravel Pro documentation.

- Read the docs live **[AddChat Pro Docs](https://addchat-pro-docs.classiebit.com)**

### All-in-one multi-purpose Chat Widget For Laravel websites

[](#all-in-one-multi-purpose-chat-widget-for-laravel-websites)

AddChat is a new chatting friend of Laravel. It's a standalone Chat widget that uses the website's existing `users` base, and let website users chat with each other.

You get full source-code, hence AddChat lives and runs on your server/hosting including database. And therefore, you get complete privacy over your data. Either you're a big corporate sector or a small business. AddChat is for everyone.

Overview
--------

[](#overview)

**Addchat Pro** is a chat widget that you can integrate into an existing or a fresh Laravel website. AddChat works like a standalone widget and fulfills all your business-related needs like -

1. User-to-user chatting
2. Live real-time chatting (without page refresh)
3. **Internal** notification system (saves **Pusher** monthly subscription fees)
4. Customer support
5. Multi-user groups
6. Guest chatting

and a lot more features, keep reading ⚡️

Why AddChat ?
-------------

[](#why-addchat-)

Some of the key highlights, why you would like to go with AddChat!

- Save monthly subscription bills (pay once use forever)
- No Confidential Data leak
- Complete Privacy
- Easy to install &amp; update
- Use existing users database
- Multi-purpose, use it as Helpdesk, Customer support, User-to-user chatting and much more...

---

AddChat never modifies your existing database tables or records. And it never breaks down any of your website functionality.

---

AddChat is fully tested and ready to be used in production websites.

---

Technical Specification
-----------------------

[](#technical-specification)

AddChat is very light, high performance, scalable and secure.

1. AddChat front-end built with **VueJs**, which is purely API based web-app.
2. AddChat back-end (API) built with **Laravel**

    - **AddChat Laravel** version is a Laravel package, hence, can be installed via **Composer** in an existing or a fresh Laravel website.

User Interface &amp; Design
---------------------------

[](#user-interface--design)

AddChat is designed in **CSS Flexbox** and **Sass**. Let's see what's so special about **CSS Flexbox** and why we used it.

1. AddChat is a CSS Framework Independent. Means, no matter in which CSS Framework your website is in, it neither affects the website CSS nor gets affected by it.

    - [Bootstrap](https://getbootstrap.com/)
    - [Bulma](https://bulma.io/)
    - [Materializecss](https://materializecss.com/)
    - [Semantic UI](https://semantic-ui.com/)
    - [UIKit](https://getuikit.com/)
    - [Zurb Foundation](https://foundation.zurb.com/)

    or any other...
2. AddChat CSS is completely encapsulated (wrapped in AddChat wrapper with `#addchat-bot .c-` prefix).

    - Hence, it never override your website CSS nor inherits from it.
    - AddChat UI is extra-responsive. Optimized for **extra-small** devices to large **4K desktops** -

        - Small phones
        - Android Phones
        - iPhones
        - iPad &amp; iPad Pro
        - Small-Medium Size Laptops
        - Large Desktops
3. We've used the popular **NPM** package `auto-prefixer` to make the AddChat UI design same across all types of browsers e.g `Chrome, Firefox, Safari, Edge` etc

Multi-regional
--------------

[](#multi-regional)

AddChat is compatible with all languages and timezones. AddChat auto adapts and adjust regional settings according to your website's default timezone and language. Please refer to the Language section for more info about **adding a new language** in [AddChat Laravel](https://addchat-pro-docs.classiebit.com/docs/1.0/admin/multi-language-laravel)

---

AddChat never breaks any of your website functionality, even if something went wrong with AddChat, there are `fallback modes` for every worst-case scenario.

---

Pro Version
-----------

[](#pro-version)

---

This is AddChat Pro version documentation

---

**AddChat Pro Version** comes with **Commercial** license. Pro version is fully loaded with a lot of useful and exciting features.

- **AddChat Laravel Pro**

    - [Live (addchat-laravel-pro.classiebit.com)](https://addchat-laravel-pro.classiebit.com) - Visit pro version live.
    - [Purchase (addchat-laravel-pro)](https://classiebit.com/addchat-laravel-pro) - Purchase pro version here.

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/"
    }]
    ```

    (once you complete, the `composer.json` file will look something like this)

    ```
    {
        .
        .
        .
        .
        .

        "minimum-stability": "dev",
        "prefer-stable": true,
        "scripts": {
            "post-autoload-dump": [
                "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
                "@php artisan package:discover --ansi"
            ],
            "post-root-package-install": [
                "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
            ],
            "post-create-project-cmd": [
                "@php artisan key:generate --ansi"
            ]
        },

        "repositories": [{
            "type": "path",
            "url": "addchat-laravel-pro/"
        }]

    }
    ```
4. Install AddChat Laravel Pro via Composer

    ```
    composer require classiebit/addchat-laravel-pro
    ```
5. Run AddChat install command

    ```
    php artisan addchat:install
    ```
6. While installation, it will ask you for the license code. Enter the license code to complete the installation process.

    - Remember, one license code is valid for one domain only. Contact support for more details.
7. 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

        ```
