vitexsoftware / datamolino
Datamolino Client Library
Fund package maintenance!
Patreon
Requires
Requires (Dev)
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2024-10-29 04:53:29 UTC
README
Datamolino PHP Library
Datamolino motto: Let humans focus on creating value, leave robotic work to robots
Datamolino service process invoice bitmap image and gives you OCRed result data in web interface or via API https://datamolino.docs.apiary.io/
Installation
Download https://github.com/VitexSoftware/phplib-datamolino/archive/master.zip or:
Composer:
composer require vitexsoftware/datamolino
Linux
For Debian, Ubuntu & friends please use repo:
sudo apt install lsb-release wget echo "deb http://repo.vitexsoftware.cz $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg sudo apt update sudo apt install php-datamolino
In this case please add this to your app composer.json:
"require": {
"deb/datamolino": "*",
},
"repositories": [
{
"type": "path",
"url": "/usr/share/php/EaseCore",
"options": {
"symlink": true
}
},
{
"type": "path",
"url": "/usr/share/php/Datamolino",
"options": {
"symlink": true
}
}
]
Docker:
To get Docker image:
docker pull vitexsoftware/phplib-datamolino
Configuration Constants
- DATAMOLINO_URL - could be https://beta.datamolino.com/ for testing or https://app.datamolino.com/ for production usage
- DATAMOLINO_ID - API ID - request access keys by sending an email to [info@datamolino.com]
- DATAMOLINO_SECRET - API Secret - this code you obtain with API ID
- DATAMOLINO_USERNAME - email address used to sign in to datamolino web interface
- DATAMOLINO_PASSWORD - password for datamolino web interface