misaf / vendra-user-profile
Tenant-aware user profiles and Filament profile management for Vendra
Package info
github.com/misaf/vendra-user-profile
Type:vendra-module
pkg:composer/misaf/vendra-user-profile
Requires
- php: ^8.3
- awcodes/filament-badgeable-column: ^4.0
- laravel/pennant: ^1.24
- misaf/filament-jalali: ^5.1.4
- misaf/vendra-permission: v1.7.1
- misaf/vendra-support: v1.7.1
- misaf/vendra-user: v1.7.1
- spatie/laravel-package-tools: ^1.93.1
- spatie/laravel-sluggable: ^4.0.2
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-livewire: ^4.1
- pestphp/pest-plugin-profanity: ^4.2.1
- pestphp/pest-plugin-type-coverage: ^4.0.4
- phpstan/extension-installer: ^1.4.3
README
Tenant-aware user profiles and Filament profile management for Vendra applications.
Features
- Multiple named profiles per user
- Tenant-aware profile storage and authorization
- Filament resource with create, view, edit, and list pages
- Pennant-controlled module availability
Requirements
- PHP 8.3+
- Laravel 13
- Filament 5
- Laravel Pennant 1
misaf/vendra-usermisaf/vendra-permissionmisaf/vendra-support
Installation
composer require misaf/vendra-user-profile php artisan vendor:publish --tag=vendra-user-profile-migrations php artisan migrate
Optionally publish configuration and translations:
php artisan vendor:publish --tag=vendra-user-profile-config php artisan vendor:publish --tag=vendra-user-profile-translations
Tenant columns are added automatically when a tenant provider is active. If
tenancy is enabled after this migration has run, use
php artisan vendra-tenant:enable {tenant} to retrofit the table and assign
existing unscoped records.
The service provider and Filament plugin are auto-registered.
Feature Flag
The resource is enabled by default through a class-based, tenant-scoped Pennant feature. Disable feature resolution or the module globally in the published configuration when needed:
'features_enabled' => false, 'module_enabled' => false,
Set features_discover to true when the host needs this package's feature
class included in Feature::all() before it has been checked.
Testing
Run the package checks from the package directory:
composer test
composer analyse
License
MIT. See LICENSE.