chuti/contact

This will send email to admin and save cotact query in database

v4.2 2019-07-16 14:35 UTC

This package is auto-updated.

Last update: 2024-05-17 17:33:53 UTC


README

Issue Star Folks License 68747470733a2f2f706f7365722e707567782e6f72672f63687574692f636f6e746163742f646f776e6c6f6164732e7376673f666f726d61743d666c6174

Installation Steps

1. Require the Package

After creating your new Laravel application you can include the contact package with the following command:

composer require chuti/contact

2. Add the DB Credentials & APP_URL

Next make sure to create a new database and mail credentials to add your database and mail credentials to your .env file:

DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=USERNAME
MAIL_PASSWORD=PASSWORD
MAIL_ENCRYPTION=tls

Run php migrate command after set database details.

You will also want to update your website URL inside of the APP_URL variable inside the .env file:

APP_URL=http://localhost:8000

3. Run your application

php artisan serve

4. Publish views and config files

If you want to customize view files and config files you can do it with following command

php artisan vendor:publish

Then select you want to publish.