dreamaker/contact 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dreamaker/contact

Composer 安装命令:

composer require dreamaker/contact

包简介

this will send email to admin and save contact query in database

README 文档

README

Issues Forks License

Table of Contents

Install

To install the Contact

first download via composer by running the command composer require dreamaker\contact if you do not have composer you could just clone this repo

after download

Then include or into your project directory and put this at the top of you class or file use Dreamaker\Contact\Contact;

you do not need to add this to your service provider it will be autoloaded

Integration

You will need to configure you mail driver in your env file i.e

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=yourusername
MAIL_PASSWORD=yourpassword
MAIL_ENCRYPTION=tls

then now create a migration table called contact

Schema::create('contacts', function (Blueprint $table) {
           $table->increments('id');
           $table->text('message');
           $table->string('email');
           $table->string('name');
           $table->timestamps();
       });

then run php artisan migrate

which will create your datebase table

when this is done, then you are ready to use laravel contact us

to change admin email create contact.php file in your config folder then put this inside it

return [
   'send_email_to' => 'youremail@domain.com'
];

Documentation

to access contact page simple type <yourdomain.com/contact> to access contact page it will automatically take the view stying of all your layouts

License

Contact is free software distributed under the terms of the MIT license.

Contribution guidelines

Please report any issue you find in the issues page.
Pull requests are welcome.

统计信息

  • 总下载量: 17
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-07-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固