misaf / vendra-support
Shared support classes for Vendra modules
v1.7.1
2026-07-22 21:54 UTC
Requires
- php: ^8.3
- filament/filament: ^5.6.8
- illuminate/console: ^13.0
- illuminate/database: ^13.0
- illuminate/support: ^13.0
- laravel/prompts: ^0.3.21
- symfony/intl: ^7.4 || ^8.0
Requires (Dev)
- fakerphp/faker: ^1.24.1
- larastan/larastan: ^3.10.0
- laravel/boost: ^2.4.12
- laravel/pint: ^1.29.3
- misaf/vendra-testing: v1.7.1
- mockery/mockery: ^1.6.12
- nunomaduro/collision: ^8.9.4
- orchestra/testbench: ^11.1
- pestphp/pest: ^4.7.5
- pestphp/pest-plugin-arch: ^4.0.2
- pestphp/pest-plugin-laravel: ^4.1
- pestphp/pest-plugin-profanity: ^4.2.1
- pestphp/pest-plugin-type-coverage: ^4.0.4
- phpstan/extension-installer: ^1.4.3
README
Shared support infrastructure used by every Vendra module.
Features
- Provider-neutral tenant resolution and tenant-awareness helpers
- Tenant-aware Eloquent traits, scopes, and migration helpers
- Optional tag, attribute, and currency integration contracts
- Provider-neutral subscription charging with idempotent operation results
- Request and queued-job context propagation primitives
- Shared tenant seeders and console commands
- Shared Filament clusters, navigation taxonomy, and concerns
- Composable policy authorization, sandbox helpers, and shared events
The package binds null capability resolvers by default. Concrete providers can replace those bindings without coupling domain packages to their implementations.
Requirements
- PHP 8.3+
- Laravel 13
- Filament 5
Installation
composer require misaf/vendra-support
The service provider is auto-registered.
Optionally publish the shared panel configuration:
php artisan vendor:publish --tag=vendra-support-config
Testing
Run the package checks from the package directory:
composer test
composer analyse
License
MIT. See LICENSE.