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

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

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

eftia/contact

最新稳定版本:v1.0.4

Composer 安装命令:

composer require eftia/contact

包简介

A laravel package for sending contact query as a mail and save to database table. It will publish as a contact page on your application

README 文档

README

A laravel package for sending contact query as a mail and save to database table

Installation proccess

open your termnial on laravel project directory and give this command for package install.
composer require eftia/contact
Then give this command for vendor publish
php artisan vendor:publish
After play this command you can see bounch of package list, Select this package from the list, It must be the number one like this

 Which provider or tag's files would you like to publish? 
 All providers and tags ................. 0  
Provider: Eftia\Contact\ContactServiceProvider ............. 1

Select 1 and hit enter to vendor publish for this package.

You can see on you project on resource/views folder there a folder created which name is vendor/contact/ Into this directory see can see the view files.

Also on your application see the /config folder there is a file created name contact.php for configuration.

You may able to see the view on browser , just hit the url after your project root url /contact

**Before you submit the form you need to migrate the table with this command

php artisan migrate

And Finally setup mail configuration

MAIL_MAILER=mailer
MAIL_HOST=host
MAIL_PORT=port
MAIL_USERNAME=username
MAIL_PASSWORD=password
MAIL_ENCRYPTION=encryption

If You want customize route then go to app/Providers/RouteServiceProvider.php file and put below code

 Route::middleware('web')
        ->group(base_path('routes/contact/web.php'));

Into

 $this->routes(function () {

 });

This function

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-29