gmrakibulhasan/api-progress-tracker 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

gmrakibulhasan/api-progress-tracker

Composer 安装命令:

composer require gmrakibulhasan/api-progress-tracker

包简介

A professional Laravel package for tracking API development progress with task management and team collaboration

README 文档

README

A professional Laravel package for tracking API development progress with task management and team collaboration features.

🚀 Features

  • API Route Discovery: Automatically discover and track API endpoints
  • Progress Tracking: Monitor development status with customizable priorities
  • Task Management: Create, assign, and track development tasks
  • Team Collaboration: Developer management with comment system
  • Data Persistence: Uses separate database to survive migrations
  • Beautiful UI: Modern, responsive interface built with Tailwind CSS and Alpine.js
  • File Attachments: Support for file uploads in comments
  • Mention System: Tag team members in comments with notifications
  • Dashboard Analytics: Visual progress tracking with charts and statistics

📋 Requirements

  • PHP 8.2+
  • Laravel 12.0+
  • Livewire 3.0+
  • MySQL/PostgreSQL

🔧 Installation

1. Install via Composer

composer require gmrakibulhasan/api-progress-tracker

2. Environment Setup

Add to your .env file:

# API Progress Tracker Database (separate from main app)
APIPT_DB_CONNECTION=mysql
APIPT_DB_HOST=127.0.0.1
APIPT_DB_PORT=3306
APIPT_DB_DATABASE=api_progress_tracker
APIPT_DB_USERNAME=root
APIPT_DB_PASSWORD=

3. Database Creation

Option A: Using MySQL CLI

CREATE DATABASE api_progress_tracker;

Option B: Using Laravel Tinker

php artisan tinker
DB::statement('CREATE DATABASE api_progress_tracker');
exit

Option C: Using Database Management Tool Create a database named api_progress_tracker using phpMyAdmin, TablePlus, or your preferred tool.

4. Run Installation

Option A: Quick Install

chmod +x vendor/gmrakibulhasan/api-progress-tracker/install.sh
./vendor/gmrakibulhasan/api-progress-tracker/install.sh

Option B: Manual Install

# Publish configuration
php artisan vendor:publish --provider="Gmrakibulhasan\ApiProgressTracker\ApiProgressTrackerServiceProvider"

# Run migrations on separate database
php artisan api-progress:migrate --fresh --seed

# Sync API routes
php artisan api-progress:sync-routes

🎯 Usage

Access Dashboard

Visit: http://yourapp.com/api-progress

Default Admin Login:

  • Email: admin@apipt.com
  • Password: password

Database Management

The package uses a separate database connection to isolate its data from your main application. This prevents conflicts and data loss during migrations.

Migration Commands

# Run migrations on separate database
php artisan api-progress:migrate

# Fresh migration with seeding
php artisan api-progress:migrate --fresh --seed

# Fresh migration only
php artisan api-progress:migrate --fresh

Database Configuration

The package automatically creates an apipt database connection using your .env settings:

APIPT_DB_CONNECTION=mysql
APIPT_DB_HOST=127.0.0.1
APIPT_DB_PORT=3306
APIPT_DB_DATABASE=api_progress_tracker
APIPT_DB_USERNAME=root
APIPT_DB_PASSWORD=

Note: The package migrations will NOT interfere with your main application's migrate:fresh --seed commands.

Available Commands

Sync API Routes

# Sync all API routes
php artisan api-progress:sync-routes

# Sync specific group
php artisan api-progress:sync-routes --group=users

# Force sync (update existing)
php artisan api-progress:sync-routes --force

Validate Installation

# Check if everything is working correctly
php artisan api-progress:validate

This command will check:

  • Database connection
  • Table existence
  • Model functionality
  • Configuration
  • Route registration

🎨 Features in Detail

Dashboard

  • Real-time progress tracking
  • Visual analytics and charts
  • API endpoint management
  • Task assignment and tracking
  • Comment system with file attachments

API Management

  • Automatic route discovery
  • Manual API endpoint creation
  • Priority and status tracking
  • Developer assignment
  • Progress monitoring

Task Management

  • Create and assign tasks
  • Track completion status
  • Comment system for collaboration
  • File attachment support
  • Mention system for notifications

🔧 Configuration

All configuration options are available in the published config file:

php artisan vendor:publish --provider="Gmrakibulhasan\ApiProgressTracker\ApiProgressTrackerServiceProvider" --tag="config"

🤝 Contributing

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

📝 Changelog

v1.0.5

  • Cleaned up README documentation
  • Final package optimization and documentation improvements
  • Enhanced installation validation and error handling

v1.0.4

  • Added separate database connection support
  • Improved installation process with validation
  • Enhanced error handling and user guidance
  • Added comprehensive installation validation

v1.0.3

  • Fixed migration and seeding issues
  • Added custom migration commands
  • Improved package stability

🐛 Troubleshooting

Database Connection Issues

  1. Ensure the database exists:

    CREATE DATABASE api_progress_tracker;
  2. Check your .env configuration

  3. Run the validation command:

    php artisan api-progress:validate

Migration Issues

If migrations fail, try:

php artisan api-progress:migrate --fresh --seed

📧 Support

For support, please open an issue on GitHub.

License

MIT License

gmrakibulhasan/api-progress-tracker 适用场景与选型建议

gmrakibulhasan/api-progress-tracker 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 10 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 06 月 20 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「api」 「task」 「management」 「laravel」 「progress」 「dashboard」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 gmrakibulhasan/api-progress-tracker 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 gmrakibulhasan/api-progress-tracker 我们能提供哪些服务?
定制开发 / 二次开发

基于 gmrakibulhasan/api-progress-tracker 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Blade

其他信息

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