jeffersongoncalves/laravel-erp-support
Composer 安装命令:
composer require jeffersongoncalves/laravel-erp-support
包简介
ERP support — issues, service level agreements and warranty claims for the Laravel ERP ecosystem
README 文档
README
ERP support — issues, service level agreements and warranty claims for the Laravel ERP ecosystem.
This package is the support (helpdesk) module of an ERPNext-native rebuild. It owns the post-sales service documents: support issues, the service level agreements (SLAs) that govern them, and warranty claims raised against sold serial numbers. The customer and serial number are referenced as dynamic links (party_type/party_id, serial_no), so the package depends only on jeffersongoncalves/laravel-erp-core — there is no hard dependency on the selling or stock modules.
Features
- Support masters — Issue types and service level agreements (with a default priority, enabled flag and per-priority response/resolution times).
- Issues — A support ticket with a subject, party (dynamic link), priority (
Low,Medium,High,Urgent) and a status workflow (Open,Replied,On Hold,Resolved,Closed). Optionally tied to an issue type and a service level agreement, with an SLAagreement_status(First Response Due,Resolution Due,Fulfilled,Failed,Paused) and first-response/resolution timestamps. - Warranty claims — A complaint raised against a sold serial number / item, with its own status workflow (
Open,In Progress,Resolved,Closed,Cancelled) and resolution details. - Customizable Models — Override any model via config (ModelResolver pattern).
- Translations — English and Brazilian Portuguese.
Compatibility
| Package | PHP | Laravel |
|---|---|---|
^1.0 |
^8.2 |
^11.0 | ^12.0 | ^13.0 |
Installation
composer require jeffersongoncalves/laravel-erp-support
Publish and run the migrations (the core package migrations must be published too):
php artisan vendor:publish --tag="erp-core-migrations" php artisan vendor:publish --tag="erp-support-migrations" php artisan migrate
Publish the config (optional):
php artisan vendor:publish --tag="erp-support-config"
Dynamic Links
Issues and warranty claims reference their customer through a polymorphic-style dynamic link (party_type + party_id) and the warranty claim references the sold unit through a plain serial_no string. This keeps the support module decoupled from the selling and stock packages while still allowing those records to be resolved at the application layer.
Database Tables
All tables use the configured prefix shared across the ERP ecosystem (default: erp_): issue_types, service_level_agreements, service_level_priorities, issues, warranty_claims.
Testing
composer test
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-28