elgibor-solution/laravel-chatwoot

Laravel API bridge to chatwoot engine with matching paths and responses.

Installs: 23

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/elgibor-solution/laravel-chatwoot

1.0.0 2026-02-09 10:16 UTC

This package is auto-updated.

Last update: 2026-02-09 10:17:34 UTC


README

Laravel API bridge to chatwoot engine with matching paths and responses.

Installation

composer require elgibor-solution/laravel-chatwoot

Configuration

Publish the configuration file:

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

Environment Variables

Add these to your .env:

  • CHATWOOT_BASE_URL: Your Chatwoot instance URL.
  • CHATWOOT_API_TOKEN: Your API access token.
  • CHATWOOT_PREFIX: API prefix (default: chatwoot).

Database Configuration

If you need to load config from the database, set CHATWOOT_CONFIG_SOURCE=database. Run the migration first:

php artisan migrate

Usage

Once configured, all requests to /{prefix}/api/v1/* will be bridged to your Chatwoot instance. The payload, method, and headers (including api_access_token) will be handled automatically.

Postman Collection

A Postman collection is included in the postman/ directory for easy testing.