codechief/contact

This will send email to admin and save contact query to database

v1.0.6 2019-11-28 11:13 UTC

This package is auto-updated.

Last update: 2024-10-29 02:07:27 UTC


README

Issues Stars

This will send email to admin and save contact data to database

  • Simple interface for building contact form.
  • Using this form , user can conatct with admin via email.
  • Validate clint side data before submit request with instant error message.
  • User can customize this form as what ever looks you want.
  • This will send email to admin and save contact data to database.
  • User also can take their own message to his mail.

Installing contact-package

The recommended way to install contact-package using composer

composer require codechief/contact

Add the service provider to config/app.php

'providers' => [

Codechief\Contact\ContactServiceProvider::class,

],

Run this command to migrate contact table

php artisan migrate 

Options

You can set custom design for view.

php artisan vendor:publish

After running this command just look the position of codechief\contact and enter the position number in cli and hit enter. Then you will find contact.blade.php inside

resources/views/vendor/contact/contact.blade.php 

Now just make a style to it whatever you want to look it.

Uses

just visit this following url

http://localhost:8000/contact