Package to send messages to the manager and saved in the database.
$ composer require iha/contact
After downloading package, Run this command :
$ php artisan vendor:publish
You see the composer.json like this :
{
"require": {
"iha/contact": "^1.0"
}
}
Run this command for generate database :
$ php artisan migrate
Finally, serve the application.
$ php artisan serve
To serve the application, you can use php artisan serve
, then open http://localhost:8000
from your browser. To access the contact page, hit the link http://localhost:8000/contact
from your browser.
The defaults configuration settings are set in config/contact.php
.
<?php
return
[
'send_mail_to' => 'sendTo@exemple.com',
'externe_email' => 'TRUE',
];
the default views are set in resources/views/contact/
This Contact Package Wrapper for Laravel is open-sourced software licensed under the MIT license