technicalsimple/contact
Composer 安装命令:
composer require technicalsimple/contact
包简介
This will send email to admin and save contact query in database.
README 文档
README
A Powerful package for handling contact us . It will send email to admin and save contact query in database in Laravel. Supports Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6.0, 7.0, and 8.0+.
Installation
This package is very easy to set up. There are only couple of steps.
Composer
From your projects root folder in terminal run:
Laravel 5.5 and up use:
composer require technicalsimple/contact
Laravel 5.4 and below use:
composer require technicalsimple/contact 1.0.0
Service Provider
-
Laravel 5.5 and up Uses package auto discovery feature, no need to edit the config/app.php file.
-
Laravel 5.4 and below Add the package to your application service providers in config/app.php file.
'providers' => [ ... /** * Third Party Service Providers... */ \technicalsimple\Contact\ContactServiceProvider::class, ],
Publish All Assets
php artisan vendor:publish --provider="technicalsimple\Contact\ContactServiceProvider"
After publish ContactServiceProvider Goto the app/config/contact.php and change admin email details.
<?php
return [
'admin' => 'Admin', // admin name
'send_email_to' => 'example@gmail.com', //admin email
];
Also Please setup email configuration details in env file.
Migrations
This will create contacts table.
php artisan migrate
technicalsimple/contact 适用场景与选型建议
technicalsimple/contact 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4 次下载、GitHub Stars 达 1, 最近一次更新时间为 2021 年 12 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 technicalsimple/contact 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 technicalsimple/contact 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-12-12