Looking to hire Laravel developers? Try LaraJobs

laravel-id-billing maintained by cboxdk

Description
Billing console for Cbox ID — plan, invoices and usage-vs-limit, read from a billing service through cboxdk/laravel-billing-client and plugged into the console through laravel-console-kit. Optional: install it only where you actually bill.
Last update
2026/07/27 18:07 (dev-main)
License
Links
Downloads
0

Comments
comments powered by Disqus

Cbox ID Billing

cboxdk/laravel-id-billing — the billing console for Cbox ID, as a drop-in package. Data and UI in one place: a Billing area (plan, invoices, usage-vs-limit), a dashboard current-plan card, and gates — all plugged into laravel-console-kit and gated on the billing feature, which is active only when the billing client is wired.

Optional by design. Cbox ID is free to self-host with no limits and no licence key, and it never depends on this package. Install it only where you actually bill someone — then Billing lights up and entitlements can be metered (CBOX_ID_ENTITLEMENTS=metered). Leave it out and nothing about the application changes.

What it adds

  • Nav — a Billing area with Overview and Invoices, gated on billing.
  • Overview — current plan + status, usage-vs-limit meters (from UsageSummary), and a Manage billing button that hands off to the billing portal.
  • Invoices — the org's invoice history.
  • Dashboard card — the current plan, on the overview page.
  • Route gateconsole.feature:billing, so the routes 404 without billing.

All data comes from the billing client's BillingManagement; this package renders it in the host console's shell.

Install (SaaS)

composer require cboxdk/laravel-id-billing

Requires the billing client configured (so BillingManagement is bound) and a host console that has adopted laravel-console-kit.

License

MIT. See LICENSE.