PHPackages                             yushkevichv/pdf-cad-reader - 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. yushkevichv/pdf-cad-reader

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

yushkevichv/pdf-cad-reader
==========================

Parse PDF CAD files for get index meta info and decoded stream vector data

0.3.3(6y ago)032MITPHPPHP ^7.1CI failing

Since Sep 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/yushkevichv/pdf-cad-reader)[ Packagist](https://packagist.org/packages/yushkevichv/pdf-cad-reader)[ RSS](/packages/yushkevichv-pdf-cad-reader/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (4)Versions (14)Used By (0)

Parser PDF-CAD files
====================

[](#parser-pdf-cad-files)

It is standalone PHP Library, provide simple API for get common index information about PDF file and get decoded stream vecctor data.

Parser use TCPDF library and common parsing ideas and code from [PDF Parser](https://github.com/smalot/pdfparser/)

Install
-------

[](#install)

```
composer require "yushkevichv/pdf-cad-reader"

```

Usage
-----

[](#usage)

```
$pdfReader = new PDFCadReader();
$pdfObject = $pdfReader->parseFile($pdfFilePath);

// get common information about pdf file and mappers
$pdfObject->getIndex();

// get array of decodedd streams
$pdfObject->getStreamData();

// decode text from stream
$pdfObject->decodeText('F1', '');
```

### Structure of PDFObject Index

[](#structure-of-pdfobject-index)

```
[
    'root' ,
    'info' => [
        'width',
        'height',
        'rotate'
    ],
    'mappers' => [
        'layers' => [
            'ocCode' => 'id'
         ],
        'streams' => [
            'id'
        ],
        'fonts' => [
            'fontCode' => [
                'layer',
                'fontFamily',
                'font' => [
                    'code',
                    'name',
                    'encoding',
                    'type',
                    'flags',
                    'composite',
                    'subType',
                    'fontInfo' => [
                        'fontFamily',
                        'fontWeight',
                        'fontBox' => [],
                        'ascent',
                        'descent',
                        'leading',
                        'capHeight'
                    ],
                    'glyphIndexArray' => [],
    '               'CIDSystemInfo' => [
                        'Registry',
                        'Ordering',
                        'Supplement'
                    ]
                ]
            ]
        ]
    ],
    'layers' => [
        'id' => 'name'
    ]
]

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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.

###  Release Activity

Cadence

Every ~1 days

Total

9

Last Release

2477d ago

PHP version history (3 changes)0.1.1PHP ^7.4

0.2.0PHP ^7.0

0.3.0PHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1c808ca95fe769b86d27804b136e60e99cc1b2b5d9440f0cc7868b8ad9a55ec?d=identicon)[yushkevichv](/maintainers/yushkevichv)

---

Top Contributors

[![yushkevichv](https://avatars.githubusercontent.com/u/2371017?v=4)](https://github.com/yushkevichv "yushkevichv (49 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yushkevichv-pdf-cad-reader/health.svg)

```
[![Health](https://phpackages.com/badges/yushkevichv-pdf-cad-reader/health.svg)](https://phpackages.com/packages/yushkevichv-pdf-cad-reader)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k16.8k](/packages/prestashop-prestashop)[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19037.7M41](/packages/mck89-peast)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

53675.5k17](/packages/solspace-craft-freeform)[verbb/icon-picker

A slick field to pick icons from. Supports SVGs, Sprites, Webfonts, Font Awesome and more.

16168.8k6](/packages/verbb-icon-picker)

PHPackages © 2026

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