clevyr/laravel-feedback-form
最新稳定版本:0.1.3
Composer 安装命令:
composer require clevyr/laravel-feedback-form
包简介
A simple user feedback form for Laravel.
README 文档
README
This is a simple form to gather feedback from the users of your application.
There's no magic here. This library only publishes the files needed to handle this workflow, and adds it into your existing Laravel application and build process. That makes it 100% customizable.
Requirements:
- Bootstrap
- Laravel 5+
Installation
composer require clevyr/laravel-feedback-form # Publish the added files php artisan vendor:publish --provider="Clevyr\FeedbackForm\FeedbackServiceProvider"
Environment Variables
This app depends on environment variables:
Required:
FEEDBACK_EMAIL=user@example.com # the recipient of the feedback email
Optional:
FEEDBACK_ENABLED=true # Whether you want to show the feedback form
Usage
Include this Vue directive anywhere in your blade/vue templates:
<feedback-form />
You can conditionally show the form in blade templates like this:
@if (config('feedback.enabled'))
<feedback-form />
@endif
Optional Params
You can pre-populate the name and email fields on the form using the name and
email props.
<feedback-form
name="{{ someName }}"
email="{{ someEmail }}"
/>
License
MIT
统计信息
- 总下载量: 2.49k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-09-24