PHPackages                             huynhan147/pdf\_exif - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. huynhan147/pdf\_exif

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

huynhan147/pdf\_exif
====================

Package for extracting information from PDF file

1.0(7y ago)022PHP

Since May 21Pushed 7y agoCompare

[ Source](https://github.com/huynhan147/PDF-exif)[ Packagist](https://packagist.org/packages/huynhan147/pdf_exif)[ RSS](/packages/huynhan147-pdf-exif/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

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

[](#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.

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

### Yêu cầu

[](#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](https://www.pdflib.com/download/pdflib-family/pdflib/)

### Cài đặt

[](#cài-đặt)

Cài đặt package qua Composer

```
composer require huynhan147/pdf_exif

```

### Sử dụng

[](#sử-dụng)

Khởi tạo một đối tượng, truyền vào đường dẫn đến file pdf $path:

```
$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

```
$data = $read->getAllInfo();
```

- Lấy từng thông tin (Title, Author, Creator...)

```
$title = $read->getInfoByKey('Title');
$author = $read->getInfoByKey('Author');
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2912d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/835969c38dcce99bd70462363cee0345fab6ecbebfc707433b6a2c968b9c707d?d=identicon)[huynhan147](/maintainers/huynhan147)

---

Top Contributors

[![huynhan147](https://avatars.githubusercontent.com/u/33453729?v=4)](https://github.com/huynhan147 "huynhan147 (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/huynhan147-pdf-exif/health.svg)

```
[![Health](https://phpackages.com/badges/huynhan147-pdf-exif/health.svg)](https://phpackages.com/packages/huynhan147-pdf-exif)
```

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
