Download the PHP package totalwebcreations/chatflow without Composer

On this page you can find all versions of the php package totalwebcreations/chatflow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package chatflow

ChatFlow

A conversational form builder plugin for Craft CMS that transforms traditional forms into engaging, chat-like experiences.

Craft CMS License Price

💰 Pricing: $39 USD one-time purchase + $19/year optional renewals for continued updates and support

Features

🎯 Conversational Forms

🎨 Customizable Appearance

📧 Flexible Notifications

🌍 Multi-Site & Multi-Language Support

🛡️ Built-in Spam Protection

🔧 Developer-Friendly

Requirements

Installation

Via Composer (Recommended)

Then install the plugin via the Craft Control Panel or command line:

Manual Installation

  1. Download the latest release
  2. Extract to plugins/chatflow/
  3. Install via Control Panel or command line

Usage

Creating a Form

  1. Navigate to ChatFlow → Forms in the Control Panel
  2. Click New Form
  3. Configure the form:
    • General Tab: Set form name, handle, and success message
    • Questions Tab: Add and configure questions
    • Notifications Tab: Set up email, Slack, Teams, or webhook notifications

Multi-Site Forms

If you have multiple sites configured in Craft CMS, ChatFlow automatically supports site-specific content:

  1. Site Selector: When editing a form, use the site dropdown in the breadcrumb navigation (top-left) to switch between sites
  2. Translatable Content: The following fields can be customized per site:
    • Question text
    • Placeholder text
    • Skip button text
    • Multiple choice options
  3. Shared Structure: Form structure (field types, field names, required status) is shared across all sites
  4. Automatic Detection: Forms automatically display content based on the current site when rendered on the frontend
  5. Fallback: If content hasn't been translated for a site, it falls back to the primary site's content

Example: Create a contact form in English, then switch to your Dutch site and translate all question text, placeholders, and button labels while keeping the same form structure.

Adding Questions

Each question supports:

Rendering a Form

First, create your trigger button with a unique ID:

Then, render the ChatFlow modal and connect it to your button:

Replace contactForm with your form's handle and contactButton with your button's ID.

Complete Example:

The modal will automatically open when the user clicks the element with the specified ID.

Headless/AJAX Integration

Submit forms programmatically:

Configuration

Plugin Settings

Navigate to Settings → Plugins → ChatFlow to configure:

Appearance

Notifications (Global Defaults)

Spam Protection

How it works:

All spam protection runs automatically when enabled. Failed spam checks are logged to storage/logs/web.log for monitoring.

Form-Level Notifications

Each form can override global notification settings:

  1. Go to the form's Notifications tab
  2. Configure notifications specific to this form:
    • Email addresses (leave empty to use plugin default)
    • Slack webhook URL (leave empty to use plugin default)
    • Teams webhook URL (leave empty to use plugin default)
    • Custom webhook URL (leave empty to use plugin default)

Notifications

Email Notifications

Email notifications include:

Multiple Recipients: Enter multiple email addresses separated by commas or newlines:

Slack Notifications

  1. Create a Slack App at https://api.slack.com/apps
  2. Enable Incoming Webhooks
  3. Add a webhook to your workspace
  4. Copy the webhook URL (looks like https://hooks.slack.com/services/...)
  5. Paste into ChatFlow settings or form notification settings

Slack messages include:

Microsoft Teams Notifications

  1. In Teams, go to your channel
  2. Click ••• → Connectors → Incoming Webhook
  3. Configure and create the webhook
  4. Copy the webhook URL
  5. Paste into ChatFlow settings

Teams messages use MessageCard format with:

Custom Webhooks

Send submission data to any webhook endpoint (Zapier, Make, custom APIs):

Payload Structure:

Testing Webhooks Locally:

ChatFlow includes a built-in webhook tester:

  1. Use this URL in your webhook settings: https://yoursite.test/actions/chatflow/webhook-test/receive
  2. Submit a form
  3. View the logs at: https://yoursite.test/actions/chatflow/webhook-test/logs
  4. Or check the log file: storage/logs/chatflow-webhook-test.log

Viewing Submissions

  1. Navigate to ChatFlow → Submissions
  2. View all submissions across all forms
  3. Filter by form
  4. See submission date, form name, and submission data

Click on a submission to view:

Theming & Customization

CSS Custom Properties

ChatFlow uses CSS custom properties for easy theming:

Custom Styling

Override ChatFlow styles in your own CSS:

Translation

To add a new language:

  1. Copy src/translations/en/chatflow.php
  2. Create a new folder for your language (e.g., it for Italian)
  3. Translate all strings
  4. Submit a pull request!

Troubleshooting

Forms Not Appearing

  1. Check that the form handle is correct
  2. Verify the form has at least one question
  3. Check browser console for JavaScript errors
  4. Clear Craft's caches

Notifications Not Sending

  1. Check Craft's email settings (Settings → Email)
  2. Verify webhook URLs are correct
  3. Check storage/logs/web.log for errors
  4. For Slack/Teams: verify the webhook is active in the service

Styling Issues

  1. Check for CSS conflicts with other plugins/themes
  2. Use browser DevTools to inspect elements
  3. Verify ChatFlow assets are loaded (check Network tab)

Development

Project Structure

Building Assets

Frontend assets are located in src/assets/:

Database Schema

chatflow_forms

chatflow_questions

chatflow_submissions

Support

License

This plugin is licensed under the MIT License. See LICENSE.md for details.

Credits

Developed by TotalWebCreations


Enjoying ChatFlow? Please star the repo and share with others! ⭐


All versions of chatflow with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
craftcms/cms Version ^5.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package totalwebcreations/chatflow contains the following files

Loading the files please wait ...