usinatech / linhadigitavel
Pacote para capturar a linha digitável do boleto do PagSeguro em PHP
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:php-bundle
Requires
- php: ^7.4
- ramsey/uuid: ~4.0
This package is auto-updated.
Last update: 2025-05-04 10:02:00 UTC
README
Pacote para capturar a linha digitável do boleto do PagSeguro em PHP
Instalando o Tesseract no Debian:
sudo apt-get install tesseract-ocr
Instalando o Tesseract no Mac: brew install tesseract
Utilizando o pacote no seu projeto PHP:
<?php
use UsinaTech\LinhaDigitavel\LinhaDigitavel;
require __DIR__ . '/vendor/autoload.php';
$boletoURL = 'https://pagseguro.uol.com.br/checkout/payment/booklet/print.jhtml?c=xxxxx';
$ld = new LinhaDigitavel;
echo $ld->capture($boletoURL) . PHP_EOL;