Laravel package to make click to chat whatsapp button
eyuva/laravel-whatsapp-btn is a Laravel package for laravel package to make click to chat whatsapp button.
It currently has 4 GitHub stars and 1.264 downloads on Packagist.
Install it with composer require eyuva/laravel-whatsapp-btn.
Discover more Laravel packages by eyuva
or browse all Laravel packages to compare alternatives.
Last updated
Laravel package to make click to chat WhatsApp button.
Step 1. Install package using Composer
composer require "eyuva/laravel-whatsapp-btn":"*"
Step 3. Add the facade reference in config/app.php to your aliases array.
'WhatsappBtn' => \Eyuva\WhatsappBtn\WhatsappBtnFacade::class,
Step 4. Start Using the package
Done!
Step 1. To embed a Button in view
{!! WhatsappBtn::(<number>,<message>,<options>) !!}
eg. options: ['label' => 'Click to Chat', 'class' => 'btn btn-success']
Step 2. To generate a http link
WhatsappBtn::(<number>,<message>);
Contributions are welcome and will be fully credited. We accept contributions via Pull Requests on GitHub.
If you Love It then Star It
The code in this repo are open-sourced software licensed under the MIT license