naykel / contactit
Simple contact package for NayKel Laravel Applications
v2.1.0
2024-04-04 19:02 UTC
Requires
- php: ^8.2
- livewire/livewire: ^3.4
- spatie/laravel-honeypot: ^4.3
Requires (Dev)
- phpunit/phpunit: ^9.5
README
Naykel Contactit
Livewire contact form component with reCaptcha for Naykel Laravel applications.
Things to Know
- This package requires the
naykel/gotime
starter kit - This package uses Google reCAPTCHA v3 for validation
- Contact routes are loaded directly from the package
Installation
To get started, install Contactit using the Composer package manager:
composer require naykel/contactit
Optionally you can publish views for custom layouts.
php artisan vendor:publish --tag=contactit-views
Finishing up and making it work
Add ReCaptcha keys to .env
RECAPTCHA_SITE_KEY=your_site_key
RECAPTCHA_SECRET_KEY=your_recapture_secret_key
Usage
<!-- default form --> <livewire:contact />
Change log
See the changelog for more information on what has changed recently.