定制 garstea/contact 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

garstea/contact

Composer 安装命令:

composer require garstea/contact

包简介

This will send email to admin email and save contact to Database

README 文档

README

Issues Github Forks Github Stars

A simple Contact us Form package with a view and logic to store information from contact page to DataBase and also to send and email notification to admin

Instalation

  • First require package
$ composer require garstea/contact

It has build in auto discovery package and no needed to add to App providers in config app.php

  • Then migrate files
$ php artisan migrate
Important

In .env file set up credentials for database and mail.

In your aplication now is set a new route named "garstea-contact" url('/contact') which can be used for accesing contact page view

Settings

  • To publish config files run command
$ php artisan vendor:publish --provider="Garstea\Contact\ContactServiceProvider"

Will publish config.php file and also assets files and necesary views

in config/contact.php are folow variables

  • "send_email_to" - on which email address to be send emails
  • "redirect_to" - after succesufully sent email and stored to DB user will be redirected to, default is form contact page.

Blade views are located in resource/view/vendor/contact and can be styled or changed how will be liked to you.

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-10-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固