thiritin / meteric
Advanced billing engine for Laravel: subscriptions, proration, usage metering, credit notes, and pluggable invoice/tax drivers. PostgreSQL.
Fund package maintenance!
Requires
- php: ^8.3
- ext-bcmath: *
- brick/math: ^0.12|^0.14.4
- brick/money: ^0.10|^0.11.2
- ibericode/vat: ^2.1
- illuminate/contracts: ^12.0|^13.0
- illuminate/database: ^12.0|^13.0
- illuminate/support: ^12.0|^13.0
- nesbot/carbon: ^3.0
- tpetry/laravel-postgresql-enhanced: ^3.7
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.18
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^4.0|^5.0
- pestphp/pest-plugin-laravel: ^4.0|^5.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- v0.9.30
- v0.9.29
- v0.9.28
- v0.9.27
- v0.9.26
- v0.9.25
- v0.9.24
- v0.9.23
- v0.9.22
- v0.9.21
- v0.9.20
- v0.9.19
- v0.9.18
- v0.9.17
- v0.9.16
- v0.9.15
- v0.9.14
- v0.9.13
- v0.9.12
- v0.9.11
- v0.9.10
- v0.9.9
- v0.9.8
- v0.9.7
- v0.9.6
- v0.9.5
- v0.9.4
- v0.9.3
- v0.9.2
- v0.9.1
- v0.9.0
- v0.8.0
- v0.7.0
- v0.6.0
- v0.5.0
- v0.4.0
- v0.3.0
- v0.2.0
- v0.1.0
This package is auto-updated.
Last update: 2026-09-10 08:45:03 UTC
README
Meteric
Advanced billing for Laravel. Subscriptions, proration, usage metering, configurable options, addons, orders, and invoicing on PostgreSQL, built so a charge is never billed twice and never lost when your accounting system is down. Fits SaaS, IaaS, and any product with usage-based or recurring pricing.
Documentation
Full docs are at thiritin.github.io/meteric.
Start with the Introduction, then Installation and the Quickstart.
Requirements
PHP 8.3+, Laravel 12 or 13, PostgreSQL 16+.
Installation
composer require thiritin/meteric php artisan vendor:publish --tag=meteric-config php artisan migrate
A quick taste
use Meteric\Facades\Meteric; $sub = Meteric::subscribe() ->account($account) ->add($vpsPrice) ->create(); // Collect pending charges and issue an invoice through the bound driver. $invoice = Meteric::invoicePending($account);
See the docs for subscriptions, plan changes, usage billing, tax, and the rest.
Testing
composer test
License
MIT. See LICENSE.