alan01777/laravel-chatwoot

Maintainers

Package info

github.com/Alan01777/laravel-chatwoot

pkg:composer/alan01777/laravel-chatwoot

Statistics

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.4.0 2026-04-22 12:34 UTC

This package is auto-updated.

Last update: 2026-04-22 12:35:45 UTC


README

Latest Version on Packagist Total Downloads

A robust and professional Laravel package for integrating with the Chatwoot API. Built with a clean architecture using Managers, Facades, and DTOs.

Features

  • Multi-account Support: Seamlessly manage multiple Chatwoot connections/accounts.
  • Type-safe DTOs: Use dedicated objects for Messages, Contacts, Agents, and Teams.
  • WhatsApp/Meta Templates: Full support for Meta message templates via API.
  • Labels & Custom Attributes: Extensive support for tagging and enriching data.
  • Reporting API (v2): Access metrics and real-time statistics.
  • Testing Helpers: Robust Chatwoot::fake() for reliable unit testing.

Documentation

Full documentation can be found in the docs directory:

Installation

composer require alan01777/laravel-chatwoot

Publish the config:

php artisan vendor:publish --tag="chatwoot-config"

Quick Start

use Chatwoot;

// Get all contacts
$contacts = Chatwoot::getContacts();

// Send a simple message
Chatwoot::sendMessage($conversationId, new MessageDTO(content: 'Hi!'));

// Use a specific account
Chatwoot::account('marketing')->getInboxes();

License

The MIT License (MIT). Please see License File for more information.