v1.0.0
Initial Release
Document scanner plugin for NativePHP Mobile — scan documents with edge detection, cropping, and perspective correction using native camera APIs.
Features
- Native scanning via VisionKit (iOS) and ML Kit (Android)
- Automatic edge detection, perspective correction, and cropping
- Multi-page scanning support
- Output as JPEG images or PDF
- Configurable JPEG quality (1-100) and page limits
ScanOptionsDTO andOutputFormatenum for type-safe configurationDocumentScanned,ScanCancelled,ScanFailedevents- Publishable config, JavaScript client library, Pest test suite
Installation
composer require ikromjon/nativephp-mobile-document-scanner