承接 serhiikorniienko/laravel-kuchi 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

serhiikorniienko/laravel-kuchi

最新稳定版本:0.1.2

Composer 安装命令:

composer require serhiikorniienko/laravel-kuchi

包简介

A plug-and-play Laravel package for collecting user feedback and bug reports

README 文档

README

Laravel Kuchi

GitHub Workflow Status Latest Version on Packagist Total Downloads GitHub License

In Japanese, "kuchi" (口), pronounced "koo-chee" directly translates to "mouth".

A comprehensive Laravel package for collecting user feedback and bug reports with a beautiful, interactive UI built with Livewire.

Features

  • 📝 Feedback Collection - Allow users to submit feature requests, improvements, and general feedback
  • 🐛 Bug Reporting - Comprehensive bug reporting with steps to reproduce, browser info, and priority levels
  • 👍 Voting System - Users can upvote/downvote feedback to prioritize features
  • 🎛️ Admin Dashboard - Manage all feedback and bug reports with status updates
  • 🎨 Beautiful UI - Modern, responsive interface built with Tailwind CSS and Livewire
  • 🔐 Authentication - Only authenticated users can submit feedback (configurable)
  • 📊 Analytics - Track feedback trends and bug report statistics
  • ⚙️ Configurable - Extensive configuration options for customization

Installation

Install the package via Composer:

composer require serhiikorniienko/laravel-kuchi

Run the migrations or publish (optional) them to your application:

php artisan migrate

php artisan vendor:publish --tag="kuchi-migrations"

Publish the configuration file (optional):

php artisan vendor:publish --tag="kuchi-config"

Publish the views for customization (optional):

php artisan vendor:publish --tag="kuchi-views"

Configuration

The configuration file config/kuchi.php allows you to customize:

  • Middleware for routes
  • Admin users who can access the dashboard
  • Categories for feedback
  • Bug report priorities
  • Status options
  • Pagination settings

Usage

Basic Usage

To use the feedback and bug report forms, just provide the link for your users to access the feedback page. Add a button or any interactive element of your choice.

By default, the feedback page is available at /feedback (configurable via route prefix).

If you are using Livewire you can add the feedback components to any Blade template:

<!-- Feedback and Bug Report Forms -->
<livewire:feedback-form />
<livewire:bug-report-form />

<!-- Display Feedback List -->
<livewire:feedback-list />

Admin Dashboard

Access the admin dashboard at /feedback/admin (configurable via route prefix).

Admin users are defined in the configuration file:

'admin_users' => [
    'admin@example.com',
    1, // user ID
],

Routes

The package registers the following routes:

  • GET /feedback - Main feedback page
  • GET /feedback/admin - Admin dashboard

Models

The package provides three main models:

  • SerhiiKorniienko\LaravelKuchi\Models\Feedback - User feedback
  • SerhiiKorniienko\LaravelKuchi\Models\BugReport - Bug reports
  • SerhiiKorniienko\LaravelKuchi\Models\FeedbackVote - Voting system

Customization

Views

Publish the views to customize the UI:

php artisan vendor:publish --tag="kuchi-views"

Views will be published to resources/views/vendor/feedback/.

Configuration

Key configuration options:

return [
    'middleware' => ['web', 'auth'],
    'route_prefix' => 'feedback',
    'admin_users' => [
        // Add admin emails or user IDs
    ],
    'categories' => [
        'feature_request' => 'Feature Request',
        'improvement' => 'Improvement',
        'question' => 'Question',
        'other' => 'Other',
    ],
    'bug_priorities' => [
        'low' => 'Low',
        'medium' => 'Medium',
        'high' => 'High',
        'critical' => 'Critical',
    ],
];

Requirements

  • PHP 8.2+
  • Laravel 11.0+
  • Livewire 3.0+

Screenshots

Feedback List

Interactive list with voting, filtering, and search functionality. feedback-list.png

Feedback and Bug-report Forms

Nice modal forms for submitting feedback and bug reports. feedback-form.png bug-report-form.png

Admin Dashboard

Comprehensive dashboard for managing all feedback and bug reports. admin.png

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This package is open-sourced software licensed under the MIT license.

Support

If you encounter any issues or have questions, please open an issue on GitHub.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-14