mrkriskrisu / lidl-ereceipt-parser
Library for parsing digital receipts from Lidl (supermarket)
v0.1.1
2022-05-27 17:47 UTC
Requires
- php: ^7.4 || ^8.0
- nesbot/carbon: ^2.38
- thiagoalessio/tesseract_ocr: ^2.9.4
Requires (Dev)
- phpunit/phpunit: ^9.0
README
Installation
$ composer require mrkriskrisu/lidl-ereceipt-parser
{ "require": { "mrkriskrisu/lidl-ereceipt-parser": "^0.1" } }
Example Usage
<?php require 'vendor/autoload.php'; use LidlParser\Parser; $receipt = Parser::parse('receipt.jpg'); echo "You've paid " . $receipt->getTotal() . " Euros.";
Requirements
This library requires Tesseract OCR v3.02 or later.
Get the eReceipt
To receive the eReceipt you need do download the App "Lidl Plus". At your checkout you have to scan your customer card within the App and you'll can download the receipt in the app later.
Contribution
I'm glad that you want to help this library to be perfect. Just do your magic und make a Pull Request. ✨