aurorawebsoftware/aissue
Composer 安装命令:
composer require aurorawebsoftware/aissue
包简介
AIssue Package for Laravel
README 文档
README
The Laravel AIssue package provides a comprehensive solution for managing issues within your Laravel applications. Built with flexibility and extensibility in mind, it integrates seamlessly with Laravel's Eloquent ORM, offering a rich set of features to handle issue tracking, state management, and connections between different models.
Features
- Customizable Issue Tracking: Track issues with customizable fields, descriptions, summaries, and timestamps.
- Workflow Integration: Utilize the ArFlow package for state management of issues, allowing for complex workflows with multiple states and transitions.
- Dynamic Relationships: Leverage the Connective package for dynamic relationships between issues and various actors (e.g., reporters, responsible parties, observers).
- Event Management: Incorporate event management for issues, including setting due dates and reminders, through integration with the ACalendar package.
- Extensible and Modular: Designed with modularity in mind, allowing for easy extension and customization to fit your application's specific needs.
Installation
You can install the package via composer:
composer require aurorawebsoftware/aissue
After installation, publish and run the migrations with:
php artisan vendor:publish --provider="AuroraWebSoftware\AIssue\AIssueServiceProvider" --tag="migrations" php artisan migrate
Usage
Basic Concepts
Before diving into the code, it's essential to understand the main components of the AIssue package:
- Issues: The central entity representing a problem or task that needs to be addressed.
- Actors: Entities such as users who interact with issues in different capacities (e.g., reporter, responsible party).
- Workflow States: Define the lifecycle of an issue through various states (e.g., open, in progress, closed).
Defining and Managing Issues
Create a new issue:
use AuroraWebSoftware\AIssue\Models\AIssue; $issue = AIssue::create([ 'summary' => 'Example issue', 'description' => 'Detailed description of the issue', ]); // Apply a predefined workflow $issue->applyWorkflow('simple');
Add actors to an issue:
// Assuming $user1 and $user2 are instances of a Model that implements IssueActorModelContract $issue->setReporter($user1); // Set the reporter $issue->setResponsible($user2); // Set the responsible party
Manage issue states:
// Transition to another state $issue->transitionTo('state2'); // Check current state $currentState = $issue->currentState();
Working with Connectives and Observers
// Add observers to an issue $issue->addObserver($user3); $issue->addObserver($user4); // Remove an observer $issue->removeObserver($user3); // Remove all observers $issue->removeAllObservers();
Setting and Managing Due Dates
use Illuminate\Support\Carbon; // Set a due date for the issue $issue->setDueDate(Carbon::today()); // Remove the due date $issue->removeDueDate();
Advanced Usage
The AIssue package supports more advanced features and integrations, allowing for a highly customizable issue tracking system. For more details on these advanced features, please refer to the comprehensive documentation.
Contributing
Contributions are welcome and will help make AIssue even better. If you're interested in contributing, please check out the contributing guide.
License
The Laravel AIssue package is open-sourced software licensed under the MIT license.
This README provides a solid foundation for your Laravel AIssue package, outlining its capabilities, how to get started, and how to use its main features. You can further customize and expand it based on the specific details and additional functionalities of your package.
aurorawebsoftware/aissue 适用场景与选型建议
aurorawebsoftware/aissue 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 861 次下载、GitHub Stars 达 13, 最近一次更新时间为 2022 年 09 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「AuroraWebSoftware」 「aissue」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 aurorawebsoftware/aissue 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 aurorawebsoftware/aissue 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 aurorawebsoftware/aissue 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
ArFlow is a Laravel package that allows you to implement workflow management for your Laravel Eloquent models.
Laravel Models are now Uber Flexy!
This is my package connective
This is my package acalendar
ASetting is a Laravel package that allows you to dynamically define your config definitions.
Laravel Models on the FLY !
统计信息
- 总下载量: 861
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 13
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-05