3neti/form-handler-selfie
最新稳定版本:v1.0.1
Composer 安装命令:
composer require 3neti/form-handler-selfie
包简介
Selfie capture handler for form flow system
README 文档
README
A Form Flow Manager plugin for capturing selfie photos using browser camera (MediaDevices API).
Features
✅ Browser camera capture (front/back camera)
✅ Base64 image encoding
✅ Configurable quality & dimensions
✅ Face guide overlay (optional)
✅ Auto-registration with Form Flow Manager
Installation
composer require 3neti/form-handler-selfie
Usage
{ handler: 'selfie', config: { title: 'Take a Selfie', width: 640, height: 480, quality: 0.85, format: 'image/jpeg', show_guide: true } }
Requirements
- PHP 8.2+
- Laravel 12+
- HTTPS (required for MediaDevices API)
- Browser with getUserMedia support
Testing
cd packages/form-handler-selfie
composer install
vendor/bin/pest
License
MIT
Author
3neti
统计信息
- 总下载量: 1.1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-24