- What is finity-labs/fin-support used for?
- finity-labs/fin-support is a shared support package for Finity Labs Filament plugins in Laravel projects. It provides page access through Shield or a Gate ability, installer helpers, and per-panel policy registration, along with shared helpers and base classes. It is intended to keep common authorization and utility patterns consistent across Finity Labs packages.
- How do I install finity-labs/fin-support in a Laravel app?
- Install it with Composer using composer require finity-labs/fin-support, then follow any auto-discovery or installer helper steps documented by Finity Labs. Because the repository and README excerpt were not provided here, confirm the exact publish and setup commands in the package README.
- Does fin-support require Filament and Shield?
- The package is described as shared support code for Finity Labs Filament plugins, so it is intended for Filament-based Laravel applications. Its page access helper can use Shield or a Gate ability, which suggests Shield is optional but relevant when you use it. Check the package composer.json for exact Filament and Shield dependency constraints.
- How does fin-support handle Filament page access through Shield or a Gate ability?
- It provides shared page access support that can authorize Filament pages through Shield or through a Gate ability. This lets Finity Labs plugins use one consistent access check instead of duplicating authorization logic. The exact method names and configuration are not included in the overview, so verify them in the package source or README.
- How do I register policies per Filament panel with fin-support?
- fin-support includes helpers for registering policies on a per-panel basis in Filament. That is useful when different panels need different policy mappings or authorization behavior. Review the package's documented registration API before wiring it into your panel providers.
- What are installer helpers in fin-support?
- Installer helpers are shared utilities for package installation tasks, such as wiring up Finity Labs plugin support in a Laravel application. The overview does not list every helper, so inspect the package source or README for the available installer methods and expected publish steps.
- Which Laravel and PHP versions does fin-support support?
- The provided overview does not state supported Laravel or PHP versions. Check the package's composer.json for require constraints and test against your application's Laravel version before adopting it.
- How do I test page access and policy registration from fin-support?
- The overview does not include a testing guide for fin-support. In your Laravel app, test the resulting authorization behavior by acting as users with and without Shield permissions or the relevant Gate ability, and assert which Filament pages they can access. Also cover per-panel policy registration if you rely on it.
- Is fin-support suitable for production, and what should I check before deploying?
- It can be suitable for production if its authorization behavior matches your app's Shield or Gate setup, but the overview alone is not enough to certify it. Before deploying, review the package source, confirm Laravel and Filament version constraints, test page access and per-panel policies, and check maintenance activity and release history.
- What are alternatives to fin-support for Filament page authorization?
- You can implement Filament page authorization directly with Laravel Gate abilities or Shield permissions, or use Filament's built-in authorization patterns. fin-support is mainly valuable if you want the shared Finity Labs conventions, installer helpers, and per-panel policy registration in one package. Evaluate whether those helpers justify an extra dependency.