Download the PHP package 3neti/contact without Composer
On this page you can find all versions of the php package 3neti/contact. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download 3neti/contact
More information about 3neti/contact
Files in 3neti/contact
Package contact
Short Description A package to enable assigning contacts to Eloquent Models
License proprietary
Informations about the package contact
3neti/contact
A Laravel package for managing contacts as first-class domain entities, with support for:
- normalized mobile numbers (via laravel-phone)
- schemaless attributes (via Spatie Schemaless Attributes)
- KYC workflows (via Hyperverge integration)
- bank account parsing and normalization
- media handling for identity and verification (via Spatie MediaLibrary)
This package is designed as a core identity layer within the x-change ecosystem, enabling reusable contact records across payments, vouchers, and onboarding flows.
✨ Core Concept
Contact represents a person or entity involved in financial or transactional workflows.
A contact can:
- hold mobile and country identity
- store flexible metadata (name, email, KYC data, etc.)
- manage bank account details
- participate in transactions (as sender/recipient)
- undergo KYC and face verification
- store media (IDs, selfies, verification attempts)
📦 Installation
⚙️ Configuration
Publish config (optional):
🧱 Database Migrations
This package uses:
So migrations are auto-loaded.
Run:
⚠️ Migration Notes
This package owns its own schema:
contactstable- meta column (schemaless)
- idempotency support
Test-only tables such as users and inputs are not part of runtime schema.
🧠 Usage
Creating a Contact
Mobile Normalization
Automatically normalized to proper dialing format.
Bank Account Handling
Defaults to:
Metadata (Schemaless)
Stored in the meta JSON column.
KYC
Media Collections
- kyc_id_cards
- kyc_selfies
- face_reference_selfies
- face_verification_attempts
- face_reference_selfies_archive
Relationships
Tracks transaction history and metadata.
Webhook Integration
Data Transformation
🧱 Schema
🧩 Traits
- HasMobile
- HasMeta
- HasAdditionalAttributes
- HasBankAccount
- HasFaceVerification
🧭 Architecture Role
In the x-change ecosystem:
- contact = identity
- cash = value
- voucher = instruction
- wallet = ledger
- x-change = orchestration
🧪 Testing
- Testbench
- SQLite in-memory
- test-only migrations
🧾 License
Proprietary
All versions of contact with dependencies
propaganistas/laravel-phone Version ^6.0
spatie/laravel-schemaless-attributes Version ^2.5
3neti/hyperverge Version ^1.0
spatie/laravel-medialibrary Version ^11.21