amanatjuwel/contact
Composer 安装命令:
composer require amanatjuwel/contact
包简介
This will send email to admin and save contact query to database
README 文档
README
This will send email to admin and save contact query to database
Contact Us From Pakage for Laravel 5
Require this package in your composer.json and update composer.
composer require amanatjuwel/contact
Installation
Laravel 5.x:
After updating composer, add the ServiceProvider to the providers array in config/app.php
Amanatjuwel\Contact\ContactServiceProvider::class,
Use php artisan vendor:publish to create a config file located at config/contact.php which will allow you to define local configurations to change some settings (default paper etc).
You can also use your ConfigProvider to set certain keys.
Configuration
php artisan vendor:publish --provider="Amanatjuwel\Contact\ContactServiceProvider"
The Contact service provider registers its own database migration directory with the framework, so you should migrate your database after installing the package.
php artisan migrate
.env =>
QUEUE_DRIVER=database
QUEUE_CONNECTION=database
Using
localhost/myProject/contact
You can change the admin email address from 'config/contact.php' file
return[
'send_email_to' => 'admin@example.com'
];
License
This Contact Us From Pakage for Laravel is open-sourced software licensed under the MIT license
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-08-18