Download the PHP package jeffersongoncalves/laravel-whatsapp-widget without Composer
On this page you can find all versions of the php package jeffersongoncalves/laravel-whatsapp-widget. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jeffersongoncalves/laravel-whatsapp-widget
More information about jeffersongoncalves/laravel-whatsapp-widget
Files in jeffersongoncalves/laravel-whatsapp-widget
Package laravel-whatsapp-widget
Short Description This Laravel package provides a simple yet customizable WhatsApp widget for your website. It allows you to easily add a clickable WhatsApp button or floating widget to connect visitors directly with your WhatsApp account. The widget is designed to be easily integrated into your Laravel application and is fully customizable to match your website's design.
License MIT
Homepage https://github.com/jeffersongoncalves/laravel-whatsapp-widget
Informations about the package laravel-whatsapp-widget
Laravel Whatsapp Widget
This Laravel package provides a simple yet customizable WhatsApp widget for your website. It allows you to easily add a clickable WhatsApp button or floating widget to connect visitors directly with your WhatsApp account. The widget is designed to be easily integrated into your Laravel application and is fully customizable to match your website's design.
Features
- 🚀 Multi-agent support: Add multiple WhatsApp agents with different phone numbers and names
- 🎨 Customizable appearance: Change the widget's position, colors, and text
- 🔊 Audio notifications: Optional sound alert when the widget loads (configurable)
- 📱 Mobile-friendly: Responsive design that works on all devices
- 🌐 Localization support: Easily translate the widget to any language
- 🔄 Pre-defined messages: Set default text messages for each agent
- 🖼️ Custom agent avatars: Add profile pictures for each agent
Requirements
- PHP 8.2 or higher
- Laravel 11.0 or higher
Installation
You can install the package via composer:
Usage
1. Publish the package assets
Publish config file:
Publish migration file:
Publish assets files:
Publish translations files:
2. Run the migrations
3. Add the widget to your layout
Add the head template in your layout's <head>
section:
Add the body template before the closing </body>
tag:
4. Add WhatsApp agents
You need to add WhatsApp agents to your database. You can do this through your application's admin panel or by creating a seeder.
Example seeder:
Configuration
After publishing the configuration file, you can customize the widget by editing the config/whatsapp-widget.php
file:
Customization
Translations
You can customize the widget's text by editing the translation files in resources/lang/vendor/whatsapp-widget/
.
Styling
The widget's appearance can be customized by modifying the CSS files in public/vendor/whatsapp-widget/
.
Position
By default, the widget appears in the bottom-right corner of the page. You can change this by modifying the CSS classes in the widget's template.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Jèfferson Gonçalves
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-whatsapp-widget with dependencies
laravel/framework Version ^11.0|^12.0
spatie/laravel-package-tools Version ^1.14.0