csesumonpro / contact
It's Contact From Package when user submit a contact message from your web site frontend you will manage it from Backend(Admin panel) with send contact message of your mail(Admin Mail). Replay their message from admin panel.
Installs: 61
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 0
Language:HTML
This package is auto-updated.
Last update: 2024-11-22 10:31:04 UTC
README
#Laravel Contact Form It's Contact From Package when user submit a contact message from your web site frontend you will manage it from Backend(Admin panel) with send contact message of your mail(Admin Mail). Replay their message from admin panel.
INSTALLATION
Install the package through Composer.
For Laravel 5.6 or 5.7~:
composer require "csesumonpro/contact"
CONFIGURATION
1
. Open config/app.php and add this line to your Service Providers Array.
NOTE: If you are using laravel 5.5 or above, this will be automatically added by its auto discovery.
csesumonpro\contact\ContactServiceProvider::class
2
. After successfully install package just run below command
php artisan vendor:publish --provider="csesumonpro\contact\ContactServiceProvider"
HOW TO USE
Usage
Run this command
php artisan migrate
IMPORTANT NOTE!
Must Be configured your mail in your app env file for send email from contact form!!.
Mails
Before Google Mail Configuration must be use a mail which mail not two factor authorized.
Must need for send a mail from localhost Allow less secure option enable Less Secure Apps.
Example: Google Mail Configuration
MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERNAME=testmail@gmail.com MAIL_PASSWORD=12345678 MAIL_ENCRYPTION=tls
OR configure Mailtrap mail, when use live server configure your mail using sever crediential
Adminmails
Go to your project config folder then contact.php Change your admin mail(Contact message received mail) from contact.php
Viewchange
If you want to change your contact form style go to resource>views>csesumonpro>contact>contact then show blade file change your design what are you want..
Route
Route Action
Just use this route for display contct form anywhere <a href="{{route('contact.form')}}">Contact</a>
Contact Form:
Reference
License
The Laravel Shopping Cart is open-sourced software licensed under the MIT license