filamentphp/filament · error · LogicException

Laravel Spark is not installed.

Error message

Laravel Spark is not installed.

What it means

Error "Laravel Spark is not installed." thrown in filamentphp/filament.

Source

Thrown at packages/spark-billing-provider/src/Http/Middleware/VerifySparkBillableIsSubscribed.php:13

<?php

namespace Filament\Billing\Providers\Http\Middleware;

use Filament\Facades\Filament;
use LogicException;
use Spark\Http\Middleware\VerifyBillableIsSubscribed;

// We cannot explicitly require Spark through Composer, as Stripe
// and Paddle integrations have different packages associated
// with them. As such, we must check if this class exists.
if (! class_exists(VerifyBillableIsSubscribed::class)) {
    throw new LogicException('Laravel Spark is not installed.');
}

class VerifySparkBillableIsSubscribed extends VerifyBillableIsSubscribed
{
    protected function redirect(string $billableType): string
    {
        return Filament::getTenantBillingUrl();
    }
}

View on GitHub (pinned to 53483fa934)

When it happens

Trigger: Thrown at packages/spark-billing-provider/src/Http/Middleware/VerifySparkBillableIsSubscribed.php:13 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of filamentphp/filament@53483fa934 (2026-08-17). Data as JSON: /api/errors/3eab25a8938a9abb. Report an issue: GitHub.