misaf / vendra-phone
International user profile phone numbers for Vendra
Package info
Type:vendra-module
pkg:composer/misaf/vendra-phone
1.x-dev
2026-07-17 00:45 UTC
Requires
- php: ^8.3
- filament/filament: ^5.6.8
- illuminate/support: ^13.0
- misaf/vendra-support: ^1.0
- misaf/vendra-user-profile: ^1.0
- spatie/laravel-package-tools: ^1.93.1
- ysfkaya/filament-phone-input: ^4.2.1
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: ^1.0
- orchestra/testbench: ^11.1
- pestphp/pest: ^4.7.5
- pestphp/pest-plugin-laravel: ^4.1
- phpstan/extension-installer: ^1.4.3
This package is auto-updated.
Last update: 2026-07-17 00:56:58 UTC
README
International user profile phone numbers for Vendra applications.
Features
- Dynamic
phoneNumbersrelation on Vendra user profiles - Filament relation manager contributed through the User Profile extension registry
- Canonical E.164 number storage with a separate ISO country state via
ysfkaya/filament-phone-input - Open phone type strings and structured JSON metadata for country- or carrier-specific fields
- Tenant-aware storage and permission-seeded authorization
Requirements
- PHP 8.3+
- Laravel 13
- Filament 5
misaf/vendra-user-profilemisaf/vendra-supportysfkaya/filament-phone-input
Installation
composer require misaf/vendra-phone php artisan vendor:publish --tag=vendra-phone-migrations php artisan migrate
Tenant columns are determined when the migration runs. If phone numbers must be tenant-scoped, install a tenant provider such as misaf/vendra-tenant before running the migration. Enabling tenancy later does not add a tenant column to an existing table.
The service provider and the user-profile relation manager are auto-registered.
Seeding
Phone number permissions seed automatically when a tenant is provisioned. To seed them manually:
php artisan vendra-phone:seed {tenant}
Testing
composer test
License
MIT. See LICENSE.