hamiddj/contact-us

laravel 的联系我们插件

安装: 10

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

语言:Blade

类型:插件

1.3.2 2023-07-29 11:08 UTC

This package is auto-updated.

Last update: 2024-09-29 13:31:36 UTC


README

安装

composer require hamiddj/contact-us

php artisan migrate

php artisan vendor:publish 以发布配置文件和视图进行自定义

网站路由

/contact-us method:get => 返回用户联系视图
/contact-us method:post => 存储用户联系信息

管理员路由

/admin/contact-us method:get => 显示所有联系信息(需要管理员登录)
/admin/contact-us/{id} method:post => 显示所有联系数据

要求

auth:[您的管理员保护者]

*您可以在 /config/contactus.js 中将管理员保护者更改为自定义保护者

许可证

联系我们的包是开源的,受 [MIT 许可证] 许可。