Download the PHP package solution-forest/simple-contact-form without Composer
On this page you can find all versions of the php package solution-forest/simple-contact-form. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download solution-forest/simple-contact-form
More information about solution-forest/simple-contact-form
Files in solution-forest/simple-contact-form
Package simple-contact-form
Short Description This is my package simple-contact-form
License MIT
Homepage https://github.com/solutionforest/simple-contact-form
Informations about the package simple-contact-form
Simple Contact Form - FilamentPHP Plugin
A lightweight, customizable contact form plugin for FilamentPHP that provides an easy-to-use alternative to Contact Form 7. Build and manage contact forms with a simple, intuitive interface directly from your Filament admin panel.
Features
- 🚀 Easy Installation - Get up and running in minutes
- 📝 Basic Form Management - Create and manage contact forms
- 📧 Email Notifications - Receive form submissions via email
- 📱 Responsive Design - Mobile-friendly forms out of the box
Pro Version (Click me)
- 📁 File Upload - Support for file attachments in forms
- 🪝 Form Hooks - Before/after submit hooks for custom logic
- ⚙️ Configuration Options - Adjustable settings for forms
- 💾 Submission Storage - Save and manage form submissions
Try Pro Version Now
https://checkout.anystack.sh/simple-contact-form-pro
Supported Filament versions
| Filament Version | Plugin Version |
|---|---|
| v3 | 0.0.6 |
| v4/v5 | >=2.0.0 |
Installation
You can install the package via composer:
You can publish and run the migrations with:
Register the plugin in your Panel provider:
Simple Contact Form provides a Filament form that can be used outside the Filament panel, but it requires Filament styles. There are several ways to set this up depending on your environment:
-
Filament v3 with Tailwind v3:
Follow the official Filament installation instructions: https://filamentphp.com/docs/3.x/forms/installation. -
Filament v3 with Tailwind v4:
Publish the built-in CSS assets with the following command: -
Filament v4/v5 :
Add the following to yourapp.cssor your stylesheet:Then build your assets:
Configuration
You can customize the plugin's resources using the following options:
Customizing Translations
If you need to modify the translations, publish the language files:
This will copy the language files to your application's lang directory where you can edit them.
Email Setting
For the plugin to send emails properly, ensure your Laravel mail configuration is set up correctly in your .env file:
Usage
Creating a Form
- Navigate to the "Contact Forms" section in your Filament admin panel
- Click "Create Form"
- Configure the basic form settings:
- Form Name
- Email Content
- Success Message
- Error Message
- Email Subject
- Add fields using the form builder:
- Text Input
- Email Input
- Textarea
- Select Dropdown
- Radio Buttons
- Checkboxes
Displaying Forms
Use the Blade component with form id in your views:
Preview
Common Issues
Emails not sending:
- Check your mail configuration in
.env - Verify SMTP credentials
- Check Laravel log files
- smtp doc
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
We welcome contributions! Please see CONTRIBUTING.md for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- hayward
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
About Solution Forest
Solution Forest Web development agency based in Hong Kong. We help customers to solve their problems. We Love Open Sources.
We have built a collection of best-in-class products:
- InspireCMS: A full-featured Laravel CMS with everything you need out of the box. Build smarter, ship faster with our complete content management solution.
- Filaletter: Filaletter - Filament Newsletter Plugin
- Website CMS Management: A hands-on Filament CMS plugin for those who prefer more manual control over their website content management.
All versions of simple-contact-form with dependencies
filament/filament Version ^4.0||^5.0
spatie/laravel-package-tools Version ^1.15.0
