Download the PHP package rumenx/wp-chatbot without Composer
On this page you can find all versions of the php package rumenx/wp-chatbot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rumenx/wp-chatbot
More information about rumenx/wp-chatbot
Files in rumenx/wp-chatbot
Package wp-chatbot
Short Description A WordPress plugin that integrates chatbot functionality using the rumenx/php-chatbot package
License GPL-2.0-or-later
Rated 5.00 based on 1 reviews
Informations about the package wp-chatbot
WP Chatbot
A WordPress plugin that integrates advanced chatbot functionality using the rumenx/php-chatbot package. This plugin provides seamless chat integration for your WordPress site with modern UI and powerful backend capabilities.
Features
- π€ Advanced Chatbot Integration - Powered by the robust rumenx/php-chatbot package
- π¨ Modern UI - Clean, responsive chat interface that adapts to your theme
- βοΈ Easy Configuration - Simple admin interface for chatbot setup
- π§ Customizable - Hooks and filters for developers to extend functionality
- π Multilingual Ready - Translation-ready with WordPress i18n
- π± Mobile Responsive - Works perfectly on all devices
- π Performance Optimized - Minimal impact on site performance
- π Secure - Follows WordPress security best practices
Requirements
- WordPress (latest version recommended)
- PHP 8.3 or higher
- Composer (for development)
Installation
From WordPress Admin
TBD
Via Composer
Manual Installation
-
Clone this repository:
-
Install dependencies:
- Upload the entire
wp-chatbot
folder to your/wp-content/plugins/
directory - Activate the plugin through the WordPress admin interface
Related Projects
- Core Chatbot Package: rumenx/php-chatbot
- Drupal AI Chatbot Plus (GitHub): drupal_ai_chatbot_plus
- Drupal AI Chatbot Plus (Drupal.org): ai_chatbot_plus
Quick Start
Basic Usage
Once installed and activated, the chatbot will automatically appear on your site with default settings. To customize:
- Go to Settings β WP Chatbot in your WordPress admin
- Configure your chatbot settings
- Save changes
Shortcode Usage
Display the chatbot anywhere using the shortcode:
With custom parameters:
Template Integration
Add the chatbot directly to your theme templates:
Configuration
Admin Settings
The plugin provides a comprehensive admin interface located at Settings β WP Chatbot:
- General Settings: Basic chatbot configuration
- Appearance: Customize colors, themes, and positioning
- Messages: Set greeting messages and responses
- Advanced: API keys, custom integrations, and developer options
Programmatic Configuration
You can also configure the chatbot programmatically using WordPress hooks:
Hooks and Filters
Actions
Filters
Examples
Custom Theme Integration
Adding Custom Commands
Integration with WooCommerce
Development
Setup
-
Clone the repository:
-
Install dependencies:
- Run tests:
Building Assets
Testing
The plugin includes comprehensive test coverage:
Code Quality
We maintain high code quality standards:
- PHP_CodeSniffer with WordPress Coding Standards
- PHPUnit for unit testing
Contributing
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Changelog
See CHANGELOG.md for release history.
Support
- Documentation: GitHub Wiki
- Issues: GitHub Issues
License
This project is licensed under the GPL v2 or later - see the LICENSE file for details.
Configuration (Upgrade-Proof & Safe)
Never edit files in
vendor/rumenx/php-chatbot/
!
To safely configure the chatbot and ensure your settings are never overwritten by Composer updates:
-
Copy the config file:
- Copy
vendor/rumenx/php-chatbot/src/Config/phpchatbot.php
to a safe location, e.g.:wp-content/uploads/wp-chatbot-config.php
(recommended, writable)- or
wp-content/plugins/wp-chatbot/config/phpchatbot.php
- Copy
-
Edit your config:
- Set your provider, model, API keys, prompt, and any other options in your copy.
- Example:
-
Load your config in the plugin:
- The plugin will look for your config in this order:
PHPCHATBOT_CONFIG_PATH
environment variable (if set)wp-content/uploads/wp-chatbot-config.php
wp-content/plugins/wp-chatbot/config/phpchatbot.php
- Fallback: the default in
vendor/rumenx/php-chatbot/src/Config/phpchatbot.php
- Example loader:
- The plugin will look for your config in this order:
-
Use environment variables for secrets:
- Set API keys in your
.env
or server config, not in the codebase.
- Set API keys in your
- Document your config location for your team or future you.
Usage Example: Integrating rumenx/php-chatbot in WordPress
- This ensures your config is never overwritten by Composer updates.
- You can use the same approach in custom REST endpoints, shortcodes, or other plugin integrations.
Best Practices for Using rumenx/php-chatbot in WordPress
- Never edit files in
vendor/rumenx/php-chatbot/
β always copy config to your own directory. - Store your config outside the vendor directory (e.g., in
uploads/
or your pluginβs ownconfig/
folder). - Use environment variables for API keys and secrets (e.g.,
OPENAI_API_KEY
). - Document your config location for your team or future you.
- Override views and styles in your own plugin/theme β do not edit package files directly.
- For advanced configuration, supported models, and middleware, see the php-chatbot documentation.