定制 mrlinnth/simplefeedback 二次开发

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

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

mrlinnth/simplefeedback

最新稳定版本:v0.2.2

Composer 安装命令:

composer require mrlinnth/simplefeedback

包简介

Collect visitors or users feedback for Laravel project and save them to database or create GitHub issues.

README 文档

README

[![Latest Version on Packagist][ico-version]][link-packagist] [![Total Downloads][ico-downloads]][link-downloads] [![Build Status][ico-travis]][link-travis]

Collect visitors or users feedback for Laravel project and save them to database or create GitHub issues.

The default feedback form component has no styling or css. You can update it with your desired css styles. Or you can submit the required data to same route from your custom blade or livewire or javascript files.

Installation

Via Composer

composer require mrlinnth/simplefeedback

Publish Vendor Files

This will publish config, migration and view component files

php artisan vendor:publish --provider="Mrlinnth\Simplefeedback\SimplefeedbackServiceProvider"

Usage

  1. Update the published feedback-form.blade.php blade component with your desired css classes/styles.

  2. Call <x-mrlinnth-feedback-form> blade component from your view file.

  3. Or you can refer to the code in feedback-form.blade.php and submit feedback from your blade/js/jsx/tsx files.

GitHub Issue Integration (Optional)

Do the following to auto create issues at your GitHub repo. Refer to GrahamCampbell/Laravel-GitHub for details

Publish config file

php artisan vendor:publish --provider="GrahamCampbell\GitHub\GitHubServiceProvider"

Use env variable instead of placing the token and secrets directly in the config/github.php file.

Example .env file

GITHUB_TOKEN="YOUR-TOKEN"

# owner and repo are for config/simplefeedback.php
GITHUB_OWNER="YOUR-REPO-OWNER"
GITHUB_REPO="YOUR-REPO-NAME"

To Do

  • Screenshot of current page to save with issue
  • Redirect route in config
  • Feedback types in config
  • Table name in config
  • Format the data json for github issue
  • Component with Tailwind style
  • Test files

Change log - TBD

Please see the changelog for more information on what has changed recently.

Testing - TBD

composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please create an issue.

Credits

  • [Yan][link-author]
  • [All Contributors][link-contributors]

License

MIT. Please see the license file for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固