PHPackages                             vanduy/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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. vanduy/pdf\_exif

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

vanduy/pdf\_exif
================

get title,author,.. from pdf file

071PHP

Since Apr 20Pushed 8y agoCompare

[ Source](https://github.com/DoVanDuyHedspi/PDF-Exif)[ Packagist](https://packagist.org/packages/vanduy/pdf_exif)[ RSS](/packages/vanduy-pdf-exif/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)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 vanduy/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:

```
$file = new PDFExif($path);
```

Có 2 kiểu lấy dữ liệu.

- Lấy một array chứa toàn bộ thông tin

```
$data = $file->getAllInfoKeys();
```

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

```
$title = $file->get('Title')
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a69c4f29969427845fe3b8c1de168cba173b931b9b5ba32f90fb5ea4377d880c?d=identicon)[do van duy](/maintainers/do%20van%20duy)

---

Top Contributors

[![DoVanDuyHedspi](https://avatars.githubusercontent.com/u/30934958?v=4)](https://github.com/DoVanDuyHedspi "DoVanDuyHedspi (12 commits)")

### Embed Badge

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

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

###  Alternatives

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

13.9k293.5M1.2k](/packages/phpoffice-phpspreadsheet)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M100](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M216](/packages/smalot-pdfparser)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M128](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)

PHPackages © 2026

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