winex/sentinel

Sentinel package for Laravel

Maintainers

Package info

github.com/winex01/sentinel

Type:laravel-package

pkg:composer/winex/sentinel

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1 2026-04-02 16:55 UTC

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

  1. Install the package
php artisan sentinel:install
php artisan migrate
  1. 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