Download the PHP package verifinow/laravel without Composer
On this page you can find all versions of the php package verifinow/laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download verifinow/laravel
More information about verifinow/laravel
Files in verifinow/laravel
Package laravel
Short Description Official VerifyNow Laravel package for Age Verification and Identity Verification
License MIT
Homepage https://github.com/verifinow/laravel
Informations about the package laravel
VerifyNow Laravel Package
Official Laravel package for VerifyNow Age Verification and Identity Verification services.
Features
- ๐ Identity Verification (IDV) - Document-based verification
- ๐ Facial Recognition - Liveness detection and face matching
- ๐ Webhook Support - Automatic verification status updates
- ๐ก๏ธ Signature Verification - Secure webhook validation
- ๐ Database Models - Track all verifications and attempts
- ๐ฏ Route Middleware - Protect routes with verification requirements
- ๐ก Event System - React to verification completion/failure
- ๐งช Fully Tested - Comprehensive test suite included
Requirements
- PHP 8.3+
- Laravel 11.0+
- Guzzle HTTP 7.0+
Installation
Configuration
Publish the configuration file:
Add to your .env:
Database Setup
Publish and run migrations:
Usage
Basic Usage with Facades
Using Services
Add Verification to User Model
Protect Routes
Listen to Events
Handle Webhooks
The package automatically handles VerifyNow webhooks at /api/webhooks/verifinow:
Testing
Run the test suite:
Run specific test file:
Generate coverage report:
Database Schema
verifications Table
Stores verification requests and results:
id- Primary keyuser_id- Associated userverification_id- VerifyNow verification IDtype- Verification type (idv, authentication, age_verification)country- Country codestatus- Status (pending, processing, completed, failed)result- Result (approved, rejected, pending)confidence_score- Confidence score (0-100)document_type- Document type usedmetadata- Additional datacompleted_at- Completion timestamp
verification_attempts Table
Tracks individual verification attempts:
id- Primary keyverification_id- Foreign key to verificationsattempt_number- Attempt sequence numberstatus- Attempt statusresponse_code- API response codeerror_message- Error details if failedresponse_data- Full API responseip_address- Request IPuser_agent- Request user agent
user_authentications Table
Stores facial authentication results:
id- Primary keyverification_id- Foreign key to verificationsuser_id- Associated userauthentication_id- VerifyNow authentication IDstatus- Status (pending, processing, completed, failed)result- Result (approved, rejected, pending)confidence_score- Overall confidenceliveness_score- Liveness detection scoreface_match_score- Face matching scoredevice_info- Device informationlocation_data- Location dataauthenticated_at- Authentication timestamp
Configuration Options
All configuration options can be set via environment variables:
Helper Functions
Convenient helper functions are available:
Error Handling
The package throws specific exceptions for different scenarios:
Documentation
See the docs/ folder for complete documentation:
- Integration Guide
- Setup Guide
- Implementation Examples
Support
For issues, questions, or contributions, please visit:
- GitHub: https://github.com/verifinow/laravel
- VerifyNow: https://verifinow.io
License
The MIT License (MIT). Please see License File for more information.
Contributing
Please see CONTRIBUTING.md for details.
Changelog
Please see CHANGELOG.md for details on what has changed recently.