maartenpaauw/filament-cashier-billing-provider
fn() helper, new dependency injection syntax). Verify compatibility with your existing codebase.composer require laravel/cashier:^16.0
Billable trait methods (e.g., syncStripeSubscription) for changes in Cashier 16.filament/tenancy) aligns with the package’s assumptions.array_unpack changes).invoice.payment_failed).Model::query() changes).fn() helper, new DI syntax)?Billable trait. Ensure your AppServiceProvider or CashierServiceProvider is updated for Laravel 13:
// Example: Updated for Laravel 13
public function boot(): void
{
Cashier::useStripe();
Cashier::useLiveMode(env('CASHIER_LIVE_MODE', false));
}
filament/panel or filament/tenancy setups. For filament/spatie-laravel-tenancy, verify tenant model alignment remains unchanged.composer require laravel/framework:^13.0
Follow Laravel’s upgrade guide.composer require laravel/cashier:^16.0
Publish and run migrations:
php artisan vendor:publish --provider="Laravel\Cashier\CashierServiceProvider"
php artisan migrate
Billable trait to your tenant/user model (verify no breaking changes in Cashier 16).composer require maartenpaauw/filament-cashier-billing-provider:^3.1
php artisan vendor:publish --provider="MaartenPaauw\FilamentCashierBillingProvider\FilamentCashierBillingProviderServiceProvider"
app/Providers/Filament/AdminPanelProvider.php (unchanged):
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
\MaartenPaauw\FilamentCashierBillingProvider\FilamentCashierBillingProvider::make(),
]);
}
.env (no changes expected):
STRIPE_KEY=your_stripe_key
STRIPE_SECRET=your_stripe_secret
CASHIER_CURRENCY=usd
array_merge behavior, new attributes).\Log
How can I help you explore Laravel packages today?