statikbe/laravel-filament-solaris
A Filament plugin that brings Solaris data into your Laravel admin panel, adding resources, forms, and widgets so you can browse, search, and manage Solaris records without leaving Filament. Configurable and quick to install via Composer.
composer require statikbe/laravel-filament-solaris:^0.4. Because this is a pre-1.0 package, pin at least the minor version and review release notes before upgrading.config/filament-solaris.php or similar; confirm from the publish command output..env/config. As of 0.4.1, AiGenerator supports default AI provider, model, and timeout, so set these once rather than repeating them in every Filament action.SOLARIS_AI_PROVIDER=openai
SOLARIS_AI_MODEL=your-model
SOLARIS_AI_TIMEOUT=30
Textarea or RichEditor, resolve AiGenerator, send the current field value as a prompt, and write the response back to form state.AiGenerator class to confirm the generate() signature and how 0.4.1 defaults are applied.AiGenerator into Filament actions, jobs, and services. This avoids hardcoding provider/model/timeout in every action and makes 0.4.1’s defaults useful.$ai->withProvider('openai')
->withModel('your-model')
->withTimeout(20)
->generate($prompt);
Confirm the exact method names from the AiGenerator class; 0.4.1 may only add constructor/config defaults.
use Filament\Forms\Components\Actions\Action;
use Filament\Forms\Set;
use Statikbe\FilamentSolaris\AiGenerator; // confirm namespace from README
Textarea::make('body')
->suffixAction(
Action::make('generate')
->label('Generate')
->requiresConfirmation()
->action(function (Set $set, $state, AiGenerator $ai) {
$set('body', $ai->generate("Rewrite this: {$state}"));
})
);
AiGenerator.AiGenerator implementation or fake the underlying HTTP calls. Assert the prompt passed in and the value written back to form state rather than calling a real AI provider.->visible(fn () => auth()->user()->can('generate-content')).0.4.1 is additive: it adds default AI provider, model, and timeout to AiGenerator. No breaking changes are indicated, but this is still a 0.4.x package. Pin ^0.4.1 and re-read release notes before minor upgrades.max_execution_time, Livewire request timeout, and queue worker --timeout/retry_after. A package timeout longer than the queue worker timeout will cause confusing retries..env, run php artisan config:clear locally. In production, rebuild config cache with php artisan config:cache..env only. Do not commit provider credentials or generated config containing secrets.php artisan tinker and call app(AiGenerator::class)->generate('test prompt') to isolate package/provider issues from Filament form issues.AiGenerator, custom provider/model resolution, and Filament action closures. If the package does not expose a needed hook, wrap AiGenerator in your own service rather than modifying vendor code.How can I help you explore Laravel packages today?