PHP code example of csesumonpro / contact
1. Go to this page and download the library: Download csesumonpro/contact library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
csesumonpro / contact example snippets
csesumonpro\contact\ContactServiceProvider::class
php artisan vendor:publish --provider="csesumonpro\contact\ContactServiceProvider"
php artisan migrate
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=12345678
MAIL_ENCRYPTION=tls
Just use this route for display contct form anywhere
<a href="{{route('contact.form')}}">Contact</a>