winex / sentinel
Sentinel package for Laravel
v1.0.1
2026-04-02 16:55 UTC
Requires
- php: ^8.2
- filament/filament: ~5.0
- laravel/framework: ^12.0
This package is auto-updated.
Last update: 2026-04-02 17:03:16 UTC
README
Sentinel is a Laravel package that provides license management, trial periods, and billing integration for FilamentPHP applications.
Requirements
- PHP ^8.2
- Laravel ^12.0
- Filament ^5.0
Installation
composer require winex/sentinel
Setup
- Install the package
php artisan sentinel:install php artisan migrate
- Add to Filament Panel Provider
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, ]); }
Configuration
Add these to your .env file (optional):
MONTHLY_PLAN=30 ANNUAL_PLAN=350 CONTACT_US=https://example.com/contact
Commands
| Command | Description |
|---|---|
php artisan sentinel:install |
Publish migration with current timestamp |
Local Development
Add to your app's composer.json:
"repositories": [ { "type": "path", "url": "../sentinel", "options": { "symlink": true } } ],
Then run:
composer require winex/sentinel:@dev