mrkriskrisu/lidl-ereceipt-parser

Library for parsing digital receipts from Lidl (supermarket)

v0.1.1 2022-05-27 17:47 UTC

This package is auto-updated.

Last update: 2024-03-27 22:04:10 UTC


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. ✨