Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Agents
lyre/billing
claude-code
cursor
billing
subscriptions
payment-gateways
webhooks
filament
invoices

lyre/billing provides billing/subscription entities and API flows (plans, subscriptions, invoices, transactions, payment methods, webhook handling).

Install
php artisan boost:add-skill lyre/billing

Save this content to: AGENTS.md

# `lyre/billing` Agent Guide

## Package Purpose
`lyre/billing` provides billing/subscription entities and API flows (plans, subscriptions, invoices, transactions, payment methods, webhook handling).

## What Belongs In This Package
- Billing domain models and repositories.
- Billing API controllers/routes and billing-specific actions (`subscribe`, `approved`, webhook).
- Billing Filament resources and plugin.
- Payment-provider integrations under `src/Services/*`.

## What Does Not Belong Here
- Generic repository/controller behavior (belongs to core `lyre`).
- Non-billing commerce checkout/cart logic.

## Public API / Stable Contracts
- Route contract in `src/routes/api.php` for subscriptions/plans/payment methods and webhook endpoint.
- Billing model/repository/resource interfaces used by consuming apps.
- Payment orchestration contract through `Lyre\Billing\Services\PaymentManager` and `Contracts\PaymentGatewayInterface`.

## Internal Areas That May Change
- Provider-specific service implementation details preserving endpoint and model contracts.

## Usage Rules
- Use this package for recurring billing/subscription capabilities.
- Keep webhook endpoint behavior stable for external payment provider callbacks.

## Extension Rules
- New gateway/provider support should be isolated under provider-specific service modules.
- Do not change existing endpoint names/payload shapes without coordinated migration.
- Audit namespace consistency before refactors (some files may still assume app namespace usage).

## Testing Requirements
- Validate subscription lifecycle routes and webhook handling paths.
- Validate transaction/invoice CRUD behavior and policy checks.

## Docs To Update When This Package Changes
- Root [AGENTS.md](/Users/chegekigathi/Projects/packages/lyre-packages/AGENTS.md)
- [docs/package-responsibilities.md](/Users/chegekigathi/Projects/packages/lyre-packages/docs/package-responsibilities.md)
- `packages/billing/README.md`

lyre/billing Agent Guide

Package Purpose

lyre/billing provides billing/subscription entities and API flows (plans, subscriptions, invoices, transactions, payment methods, webhook handling).

What Belongs In This Package

  • Billing domain models and repositories.
  • Billing API controllers/routes and billing-specific actions (subscribe, approved, webhook).
  • Billing Filament resources and plugin.
  • Payment-provider integrations under src/Services/*.

What Does Not Belong Here

  • Generic repository/controller behavior (belongs to core lyre).
  • Non-billing commerce checkout/cart logic.

Public API / Stable Contracts

  • Route contract in src/routes/api.php for subscriptions/plans/payment methods and webhook endpoint.
  • Billing model/repository/resource interfaces used by consuming apps.
  • Payment orchestration contract through Lyre\Billing\Services\PaymentManager and Contracts\PaymentGatewayInterface.

Internal Areas That May Change

  • Provider-specific service implementation details preserving endpoint and model contracts.

Usage Rules

  • Use this package for recurring billing/subscription capabilities.
  • Keep webhook endpoint behavior stable for external payment provider callbacks.

Extension Rules

  • New gateway/provider support should be isolated under provider-specific service modules.
  • Do not change existing endpoint names/payload shapes without coordinated migration.
  • Audit namespace consistency before refactors (some files may still assume app namespace usage).

Testing Requirements

  • Validate subscription lifecycle routes and webhook handling paths.
  • Validate transaction/invoice CRUD behavior and policy checks.

Docs To Update When This Package Changes

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator