Forms - v1.0.0-beta1
Advanced Topics Overview
Advanced configuration and integration options for ArtisanPack UI Forms.
Advanced Topics
- Advanced Overview - Introduction to advanced features
- Webhooks - Send data to external services
- Spam Protection - Protect forms from spam
- Customization - Extend and customize the package
- Artisan Commands - CLI commands
Quick Reference
Enable Webhooks
// .env
FORMS_WEBHOOKS_ENABLED=true
FORMS_WEBHOOK_URL=https://example.com/webhook
FORMS_WEBHOOK_SECRET=your-secret-key
Configure Spam Protection
// config/artisanpack/forms.php
'spam_protection' => [
'honeypot' => ['enabled' => true],
'rate_limit' => ['enabled' => true, 'attempts' => 5],
],
Prune Old Submissions
php artisan forms:prune-submissions --days=365
For detailed documentation, see Advanced Overview.