Sentinel is a Laravel package that provides license management, trial periods, and billing integration for FilamentPHP applications.
composer require winex/sentinel
php artisan sentinel:install
php artisan migrate
use Winex\Sentinel\SentinelProvider;
use Winex\Sentinel\Filament\Pages\SentinelPage;
public function panel(Panel $panel): Panel
{
return $panel
->requiresTenantSubscription()
->tenantBillingProvider(new SentinelProvider())
->pages([
SentinelPage::class,
]);
}
Add these to your .env file (optional):
MONTHLY_PLAN=30
ANNUAL_PLAN=350
CONTACT_US=https://example.com/contact
| Command | Description |
|---|---|
php artisan sentinel:install |
Publish migration with current timestamp |
Add to your app's composer.json:
"repositories": [
{
"type": "path",
"url": "../sentinel",
"options": {
"symlink": true
}
}
],
Then run:
composer require winex/sentinel:@dev
How can I help you explore Laravel packages today?