sosupp / slimer-billing
Simple invoice/billing with billable items and all that is necessary for schools, SMEs, etc.
v0.0.1
2026-06-27 06:17 UTC
Requires
- php: ^8.1|^8.2|^8.3
- barryvdh/laravel-dompdf: ^3.1
- illuminate/support: ^13.17
- livewire/livewire: ^4.3
Requires (Dev)
- orchestra/canvas: ^11.0
- orchestra/testbench: ^11.1
- phpunit/phpunit: ^12.5
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();