thiritin/meteric
Composer 安装命令:
composer require thiritin/meteric
包简介
Dynamic billing engine for hosting systems — subscriptions, proration, usage, charges and pluggable invoice/tax drivers. PostgreSQL.
关键字:
README 文档
README
Meteric
Dynamic billing for Laravel hosting systems. 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.
Documentation
Full docs are at thiritin.github.io/meteric.
Start with the Introduction, then Installation and the Quickstart.
Requirements
PHP 8.3+, Laravel 12, PostgreSQL 13+.
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.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-24