sosupp/slimer-billing
Composer 安装命令:
composer require sosupp/slimer-billing
包简介
Simple invoice/billing with billable items and all that is necessary for schools, SMEs, etc.
README 文档
README
Installation
Using It in Your App
Querying Polymorphic Billings
-
Get all billings for a specific entity type $studentBillings = Billing::billableType(Student::class)->get();
-
Get all overdue billings $overdueBillings = Billing::overdue()->get();
-
Get billings for a specific student $student = Student::find(1); $studentBillings = $student->billings;
-
Get all billings with their items and payments $billings = Billing::with(['items', 'payments', 'billable'])->get();
-
Get billings by date range and status $billings = Billing::dateRange('2026-01-01', '2026-12-31') ->status('paid') ->get();
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-27