waaseyaa/billing
Composer 安装命令:
composer require waaseyaa/billing
包简介
Stripe billing for Waaseyaa — subscriptions, checkout, portal, plan tiers
README 文档
README
Layer 3 — Services
Stripe billing for Waaseyaa: subscriptions, checkout, customer portal, plan tiers.
BillingManager is the single entry point for plan tier resolution, checkout session creation, and customer-portal URLs. StripeClientInterface plus FakeStripeClient make the integration testable without hitting Stripe; WebhookHandler dispatches Stripe webhook events into framework DomainEvents.
Key classes: BillingManager, BillingServiceProvider, CheckoutSession, PlanTier, StripeClientInterface, WebhookHandler.
Scope
This package is v0.1 scaffolding. The public surface (BillingManager, StripeClientInterface, WebhookHandler, PlanTier, CheckoutSession, SubscriptionData, FakeStripeClient, BillingServiceProvider) is marked @api to preserve it from dead-code removal while the integration remains partially wired.
Out of scope for v0.1
Full Stripe billing integration — including webhook signature verification, subscription lifecycle management, and payment failure handling — is deferred to post-v0.1. The scaffold exists to:
- Reserve the
waaseyaa/billingpackage namespace. - Define the
StripeClientInterfacecontract so downstream code can type-hint against it. - Provide
FakeStripeClientfor testing billing-adjacent logic without hitting Stripe.
Roadmap
Billing activation is planned for the v0.2 cycle alongside the Minoo distribution layer. See the empty-package-decisions-analytics-billing-aischema-01KSEFV4 mission (WP02) and the alpha-to-beta plan for deferral rationale.
统计信息
- 总下载量: 1.11k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 27
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-03-19