2017 © Pedro Peláez
 

library pdf_exif

Package for extracting information from PDF file

image

huynhan147/pdf_exif

Package for extracting information from PDF file

  • Monday, May 21, 2018
  • by huynhan147
  • Repository
  • 0 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 100 % Grown

The README.md

Composer package trích xuất các thông tin cơ bản từ file PDF

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)

Yêu cầu

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

Cài đặt package qua Composer, (*4)

composer require huynhan147/pdf_exif

Sử dụng

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();
  • Lấy từng thông tin (Title, Author, Creator...)
$title = $read->getInfoByKey('Title');
$author = $read->getInfoByKey('Author');

The Versions

21/05 2018

dev-master

9999999-dev

Package for extracting information from PDF file

  Sources   Download

The Development Requires

by Nguyen Phi Huy

21/05 2018

1.0

1.0.0.0

Package for extracting information from PDF file

  Sources   Download

The Development Requires

by Nguyen Phi Huy