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.

v1.0.4 2019-02-21 20:41 UTC

This package is auto-updated.

Last update: 2024-11-22 10:31:04 UTC


README

Total Downloads License Latest Stable Version #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. 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:

Preview

Reference

Packagist Github

License

The Laravel Shopping Cart is open-sourced software licensed under the MIT license