This sample demonstrates how to develop a web application for scanning and uploading documents using Laravel and the Dynamic Web TWAIN SDK.
Laravel:
composer global require laravel/installer
Enter the license key in resources\views\dwt_upload.blade.php
:
Dynamsoft.DWT.ProductKey = 'LICENSE-KEY';
Activate the fileinfo
extension in php.ini
:
Start the web server:
composer update
composer install
php artisan serve
Visit http://127.0.0.1:8000/dwt_upload
in your web browser.