This is a lararavel contact form package. If you Install this package you will get a ready contact form with functional, Good Looking Design, auto mail send to admin via SMTP server.
- Send Mail via SMTP server
- Good looking design with Tailwind css
- Form Validation
- Configurable via
config/contactform.php - Supports Laravel 10, 11, 12
Install via Packagist: Click Here
OR
Require the package using Composer:
composer require alamindev27/contactformYou can publish the config file to customize Admin Email:
php artisan vendor:publish --provider="Alamindev27\ContactForm\ContactFormServiceProvider" --tag=contactform-config
This will create config/contactform.php.
You can change default Admin Email which called from .env file.
php artisan migrateYou can publish the config file to customize Admin Email:
php artisan vendor:publish --provider="Alamindev27\ContactForm\ContactFormServiceProvider" --tag=contactform-config
You have to add a Variable in .env file:
ADMIN_EMAIL='alamindev27@gmail.com' # It is admin receiver emailMAIL_MAILER=smtp
MAIL_HOST=sandbox.smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=4ab
MAIL_PASSWORD=1*0d3
Then run:
php artisan optimize{{ url('/contact') }}http://127.0.0.1:8000/contactPHP 8.1+
Laravel 10, 11, 12
Feel free to fork this repository and submit pull requests. Please follow PSR-12 coding standards and write tests for new features.
MIT License © MD Al-Amin