dev-master
9999999-devPackage for extracting information from PDF file
The Development Requires
by Nguyen Phi Huy
1.0
1.0.0.0Package for extracting information from PDF file
The Development Requires
by Nguyen Phi Huy
Package for extracting information from PDF file
Gói này sử dụng thư viện PDFLib để tương tác và trích xuất dữ liệu từ file pdf., (*1)
Lưu ý Gói này chỉ giới hạn cho các file pdf nhỏ với tối đa 10 pages và 1 MB., (*2)
Hệ thống của bạn cần cài đặt PDFLib 9. Có thể cài đặt theo hướng dẫn tại đây, (*3)
Cài đặt package qua Composer, (*4)
composer require huynhan147/pdf_exif
Khởi tạo một đối tượng, truyền vào đường dẫn đến file pdf $path:, (*5)
$read = new ReadPDF($path);
Có 2 kiểu lấy dữ liệu. - Lấy một array chứa toàn bộ thông tin, (*6)
$data = $read->getAllInfo();
$title = $read->getInfoByKey('Title'); $author = $read->getInfoByKey('Author');
Package for extracting information from PDF file
Package for extracting information from PDF file