Controlled documents with revisions.From this code.
Filament has no document control. Document types, documents and approvals are then set up in the panel.
Your code One plugin call
$panel->databaseNotifications()->plugin( FilamentWarpDocumentsPlugin::make() ->groups([ DocumentGroup::make('quality') ->label('Quality team') ->users(fn () => User::where('department', 'quality')), ]) ->canManageUsing(fn (User $user) => $user->department === 'quality'));
- ✓Everyone sees the approved revision that is in effect
- ✓A new revision is a draft that only its author and approvers see until it is approved
- ✓Groups decide who manages the documents
The picture is this demo's documents, which add full-text search, PDF conversion and a copy check.