{"id":19864701,"url":"https://github.com/classiebit/addchat-laravel-pro-docs","last_synced_at":"2025-09-14T21:22:30.733Z","repository":{"id":39012618,"uuid":"236141093","full_name":"classiebit/addchat-laravel-pro-docs","owner":"classiebit","description":"AddChat Laravel Pro Docs","archived":false,"fork":false,"pushed_at":"2023-01-06T16:39:19.000Z","size":5295,"stargazers_count":0,"open_issues_count":23,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T00:31:57.727Z","etag":null,"topics":["addchat-css","addchat-laravel","addchat-vuejs","laravel-application","laravel-chat-widget"],"latest_commit_sha":null,"homepage":"https://classiebit.com/addchat-laravel-pro","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/classiebit.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-25T07:50:54.000Z","updated_at":"2020-11-25T09:39:03.000Z","dependencies_parsed_at":"2023-02-06T06:46:48.587Z","dependency_job_id":null,"html_url":"https://github.com/classiebit/addchat-laravel-pro-docs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/classiebit/addchat-laravel-pro-docs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/classiebit%2Faddchat-laravel-pro-docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/classiebit%2Faddchat-laravel-pro-docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/classiebit%2Faddchat-laravel-pro-docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/classiebit%2Faddchat-laravel-pro-docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/classiebit","download_url":"https://codeload.github.com/classiebit/addchat-laravel-pro-docs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/classiebit%2Faddchat-laravel-pro-docs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275168972,"owners_count":25417225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["addchat-css","addchat-laravel","addchat-vuejs","laravel-application","laravel-chat-widget"],"created_at":"2024-11-12T15:19:33.001Z","updated_at":"2025-09-14T21:22:30.684Z","avatar_url":"https://github.com/classiebit.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Addchat Laravel Pro Docs\n\nWelcome to AddChat Laravel Pro documentation.\n\n- Read the docs live **[AddChat Laravel Pro Docs](https://addchat-laravel-pro-docs.classiebit.com)**\n\n---\n\n### All-in-one multi-purpose Chat Widget For Laravel website\n\nAddChat 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. \n\n\u003cbr\u003e\n\nYou 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.\n\n\n## Pro Version\n\n**AddChat Laravel Pro Version** comes with **Commercial** license. Pro version is fully loaded with a lot of useful and exciting features.\n\n+ [Live (addchat-laravel-pro.classiebit.com)](https://addchat-laravel-pro.classiebit.com) - Visit pro version live.\n+ [Purchase (classiebit.com/addchat-laravel-pro)](https://classiebit.com/addchat-laravel-pro) - Purchase pro version here.\n\n\n# Installation\n\nAddChat can be installed via composer. Awesome... ✌️. Now, as of v1.1.0 release. You as a developer can customize the AddChat VueJS code as well.\n\n\n- [Prerequisites](#Prerequisites)\n- [Non-developer Installation](#Non-developer-Installation)\n- [Developer Installation](#Developer-Installation)\n\n\n## Prerequisites\n\n* Laravel version 5.5 / 5.6 / 5.7 / 5.8 / 6.x\n* Make sure to install the AddChat package on a **Fresh** or **Existing** Laravel application. \n* We also assume that you've set up the database.\n* If you're running MySql version older than \u003c 5.7 then disable strict mode in your Laravel app.\n - Go to `config/database.php` and update `'strict' =\u003e false` in `mysql` section.\n\n\n## Non-developer Installation\n\n1. If installing AddChat on an existing Laravel application and you already have **Auth** system then **skip this step**\n\n If installing on a **Fresh Laravel application** then run \n\n **For Laravel 5.5 to 5.8**\n\n ```php\n php artisan make:auth\n\n php artisan migrate\n ```\n\n **For Laravel 6.x**\n\n ```php\n composer require laravel/ui --dev\n\n php artisan ui vue --auth\n\n npm install \u0026\u0026 npm run dev\n\n php artisan migrate\n ```\n\n\n2. Unzip the `addchat-laravel-pro.zip` file, copy the `addchat-laravel-pro` folder and place it in your Laravel application root directory.\n\n---\n\nThe folder name must be `addchat-laravel-pro` in your Laravel website directory.\n\n---\n\n\n3. Open your Laravel application `composer.json` file and paste the below code in the end (right before last curly `}` bracket)\n\n ```json\n \"repositories\": [{\n  \"type\": \"path\",\n  \"url\": \"addchat-laravel-pro/\"\n }]\n ```\n\n (once you complete, the `composer.json` file will look something like this) \n\n ```json\n {\n  .\n  .\n  .\n  .\n  .\n  \n  \n  \"repositories\": [{\n  \"type\": \"path\",\n  \"url\": \"addchat-laravel-pro/\"\n  }]\n\n }\n\n ```\n\n\n\n4. Install AddChat Laravel Pro via Composer\n\n ```php\n composer require classiebit/addchat-laravel-pro\n ```\n\n5. Run AddChat install command\n\n ```php\n php artisan addchat:install\n ```\n\n6. While installation, it will ask you for the license code. Enter the license code to complete the installation process.\n\n---\n\nRemember, one license code is valid for one domain only. Contact support for more details.\n\n---\n\n\n7. Open the common layout file, mostly the common layout file is the file that contains the HTML \u0026 BODY tags.\n\n - Copy AddChat CSS code and paste it right before closing **\u0026lt;/head\u0026gt;** tag\n\n ```php\n \u003c!-- 1. Addchat css --\u003e\n \u003clink href=\"\u003c?= asset('addchat/css/addchat.min.css') ?\u003e\" rel=\"stylesheet\"\u003e\n ```\n \n - Copy AddChat Widget code and paste it right after opening **\u0026lt;body\u0026gt;** tag\n\n ```php\n \u003c!-- 2. AddChat widget --\u003e\n \u003cdiv id=\"addchat_app\" \n  data-baseurl=\"\u003c?= url('') ?\u003e\"\n  data-csrfname=\"\u003c?= 'X-CSRF-Token' ?\u003e\"\n  data-csrftoken=\"\u003c?= csrf_token() ?\u003e\"\n \u003e\u003c/div\u003e\n ```\n\n - Copy AddChat JS code and paste it right before closing **\u0026lt;/body\u0026gt;** tag\n\n ```php\n \u003c!-- 3. AddChat JS --\u003e\n \u003cscript src=\"\u003c?= asset('addchat/js/addchat.min.js') ?\u003e\"\u003e\u003c/script\u003e\n ```\n\n \u003cbr\u003e\n\n #### The final layout will look something like this\n\n ```php\n \u003chead\u003e\n\n  \u003c!-- **** your site other content **** --\u003e\n\n  \u003c!-- 1. Addchat css --\u003e\n  \u003clink href=\"\u003c?= asset('assets/addchat/css/addchat.min.css') ?\u003e\" rel=\"stylesheet\"\u003e\n\n \u003c/head\u003e\n \u003cbody\u003e\n\n  \u003c!-- 2. AddChat widget --\u003e\n  \u003cdiv id=\"addchat_app\" \n  data-baseurl=\"\u003c?= url('') ?\u003e\"\n  data-csrfname=\"\u003c?= 'X-CSRF-Token' ?\u003e\"\n  data-csrftoken=\"\u003c?= csrf_token() ?\u003e\"\n  \u003e\u003c/div\u003e\n\n  \u003c!-- **** your site other content **** --\u003e\n\n  \u003c!-- 3. AddChat JS --\u003e\n  \u003cscript src=\"\u003c?= asset('addchat/js/addchat.min.js') ?\u003e\"\u003e\u003c/script\u003e\n  \n \u003c/body\u003e\n ```\n\n---\n\nFor Info, the `php artisan addchat:install` publishes AddChat assets to your application `public` directory\n\n---\n\n\n## Developer Installation\n\nThis is an advanced installation method. This method will help you customizing the AddChat VueJS code. We recommend this method only if-\n\n* You're a developer.\n* If you're already using VueJS into your website.\n\n\u003cbr\u003e\n\n1. If installing AddChat on an existing Laravel application and you already have **Auth** system then **skip this step**.\n\n If installing on a **Fresh Laravel application** then run \n\n **For Laravel 5.5 to 5.8**\n\n ```php\n php artisan make:auth\n\n php artisan migrate\n ```\n\n **For Laravel 6.x**\n\n ```php\n composer require laravel/ui --dev\n\n php artisan ui vue --auth\n\n npm install \u0026\u0026 npm run dev\n\n php artisan migrate\n ```\n\n\n2. Unzip the `addchat-laravel-pro.zip` file. Copy `addchat-laravel-pro` \u0026 `addchat-vuejs-pro` and paste them into Laravel website root directory.\n\n---\n\nThe folder name must be same as `addchat-laravel-pro` and `addchat-vuejs-pro`.\n\n---\n \n\n3. Open your Laravel application `composer.json` file and paste the below code in the end (right before last curly `}` bracket)\n\n ```json\n \"repositories\": [{\n  \"type\": \"path\",\n  \"url\": \"addchat-laravel-pro/\"\n }]\n ```\n\n (once you complete, the `composer.json` file will look something like this) \n\n ```json\n {\n  .\n  .\n  .\n  .\n  .\n  \n  \"repositories\": [{\n  \"type\": \"path\",\n  \"url\": \"addchat-laravel-pro/\"\n  }]\n\n }\n\n ```\n\n4. Install AddChat Laravel Pro via Composer\n\n ```php\n composer require classiebit/addchat-laravel-pro\n ```\n\n5. **(NEW STEP)** Install AddChat VueJS Pro via NPM\n\n ```php\n npm install addchat-vuejs-pro\n ```\n\n6. Run AddChat install command\n\n ```php\n php artisan addchat:install\n ```\n\n\n7. While installation, it will ask you for the license code. Enter the license code to complete the installation process.\n\n---\n\nRemember, one license code is valid for one domain only. Contact support for more details.\n\n---\n\n\n8. Now, you need to import the AddChat VueJS plugin into your VueJS app. \n\n - Go to your website `resources/js/app.js` and import the AddChat VueJS plugin.\n\n ```js\n import AddchatVuejsPro from 'addchat-vuejs-pro';\n Vue.use(AddchatVuejsPro);\n ```\n\n - Then run \n\n ```js\n npm run dev\n ```\n\n\n9. In the last step, you only need to include `addchat.min.css` and VueJS widget code.\n\n - Copy AddChat CSS code and paste it right before closing **\u0026lt;/head\u0026gt;** tag\n\n ```php\n \u003c!-- 1. Addchat css --\u003e\n \u003clink href=\"\u003c?= asset('addchat/css/addchat.min.css') ?\u003e\" rel=\"stylesheet\"\u003e\n ```\n \n - Copy AddChat Widget code and paste it right after opening **\u0026lt;body\u0026gt;** tag\n\n ```php\n \u003c!-- 2. AddChat widget --\u003e\n \u003cdiv id=\"addchat_app\" \n  data-baseurl=\"\u003c?= url('') ?\u003e\"\n  data-csrfname=\"'X-CSRF-Token'\"\n  data-csrftoken=\"\u003c?= csrf_token() ?\u003e\"\n \u003e\u003c/div\u003e\n ```\n\n - At this point, we assume that you've already included `app.js`.\n\n ```php\n \u003cscript src=\"\u003c?= asset('js/app.js') ?\u003e\"\u003e\u003c/script\u003e\n ```\n\n---\n\nPlease replace PHP tag by curly brackets.\n\n---\n\nSetup finishes here, now heads-up straight to **[Configurations](https://addchat-laravel-pro-docs.classiebit.com/docs/1.1/configurations)** docs\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclassiebit%2Faddchat-laravel-pro-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclassiebit%2Faddchat-laravel-pro-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclassiebit%2Faddchat-laravel-pro-docs/lists"}