Skip to content

Latest commit

 

History

History
92 lines (58 loc) · 2.72 KB

README.md

File metadata and controls

92 lines (58 loc) · 2.72 KB

Laravel Created By

Filament Whatsapp Widget

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

This Filament 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.

Installation

You can install the package via composer:

composer require jeffersongoncalves/filament-whatsapp-widget

Usage

Publish config file.

php artisan vendor:publish --tag=whatsapp-widget-config
php artisan vendor:publish --tag=filament-whatsapp-widget-config

Publish migration file.

php artisan vendor:publish --tag=whatsapp-widget-migrations

Publish assets file.

php artisan vendor:publish --tag=whatsapp-widget-assets
php artisan vendor:publish --tag=filament-phone-input-assets

Add in AdminPanelProvider.php

use JeffersonGoncalves\Filament\WhatsappWidget\WhatsappWidgetPlugin;

->plugins([
    WhatsappWidgetPlugin::make(),
])

Add head template.

@include('whatsapp-widget::whatsapp-widget-head')

Add body template.

@include('whatsapp-widget::whatsapp-widget-body')

Testing

composer test

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

License

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