AI Spend Caps reference
Developer reference for capell-app/ai-spend-caps. Start with the README for what the extension does and how to install it.
Package Details
Section titled “Package Details”AI Spend Caps is an Available Capell package in the Capell AI product group. It ships as capell-app/ai-spend-caps and extends these surfaces: admin.
- Status: Available
- Tier: free
- Bundle: ai
- Composer package:
capell-app/ai-spend-caps - Namespace:
Capell\AiSpendCaps - Theme key: not applicable
Technical Shape
Section titled “Technical Shape”Service providers
Section titled “Service providers”Capell\AiSpendCaps\Providers\AiSpendCapsServiceProvider
Config files
Section titled “Config files”packages/ai-spend-caps/config/capell-ai-spend-caps.php
Migrations
Section titled “Migrations”packages/ai-spend-caps/database/migrations/2026_11_11_000002_index_ai_generation_histories_for_spend.php
Settings migrations
Section titled “Settings migrations”packages/ai-spend-caps/database/settings/2026_11_11_000001_01_create_ai_spend_caps_settings.php
Settings classes
Section titled “Settings classes”SpendCapSettings
Filament classes
Section titled “Filament classes”AiUsagePageSpendCapSettingsSchema
Events
Section titled “Events”AiSpendWarningReached
Actions
Section titled “Actions”BuildSpendReportActionSendSpendWarningAction
Data objects
Section titled “Data objects”SpendReportData
Manifest contributions
Section titled “Manifest contributions”admin-page: Capell\AiSpendCaps\Manifest\AiSpendCapsAdminPageContribution
Health checks
Section titled “Health checks”Capell\AiSpendCaps\Health\AiSpendCapsHealthCheck
Blade views
Section titled “Blade views”packages/ai-spend-caps/resources/views/filament/pages/usage.blade.php
Data Model
Section titled “Data Model”- Required tables:
ai_generation_histories. - Migration files:
2026_11_11_000002_index_ai_generation_histories_for_spend.php. - Migration impact: run host migrations through the package install flow before opening package surfaces.
- Deletion/retention behaviour: Docs gap: migrations and manifest contributions do not prove a cascade, pruning command, or timed retention policy.