PHPackages                             anglemx/pdf-viewer-bundle - 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. anglemx/pdf-viewer-bundle

ActiveSymfony-bundle[PDF &amp; Document Generation](/categories/documents)

anglemx/pdf-viewer-bundle
=========================

PDF In-browser viewer based on PDF.js

v1.0(2y ago)063MITTwigPHP &gt;=8.1

Since Apr 28Pushed 2y ago2 watchersCompare

[ Source](https://github.com/Angle/PDFViewerBundle)[ Packagist](https://packagist.org/packages/anglemx/pdf-viewer-bundle)[ Docs](https://github.com/Angle/PDFViewerBundle)[ RSS](/packages/anglemx-pdf-viewer-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (7)Versions (3)Used By (0)

Angle PDF Viewer Bundle
=======================

[](#angle-pdf-viewer-bundle)

PDF in-browser viewer using the [PDF.js](https://github.com/mozilla/pdf.js) library to render documents with HTML5.

Current build using PDF.js release [v4.0.379](https://github.com/mozilla/pdf.js/releases/tag/v4.0.379).

Installation
------------

[](#installation)

Install composer dependency:

```
composer require anglemx/pdf-viewer-bundle

```

Make sure that the Bundle has been enabled and auto-wired in the `bundles.php` file.

```
// config/bundles.php

return [
    // ...
    Angle\PDFViewerBundle\AnglePDFViewerBundle::class => ['all' => true],
    // ...
];
```

### Configure routing

[](#configure-routing)

As per the [official Symfony documentation](https://symfony.com/doc/5.x/bundles/override.html#routing):

> Routing is never automatically imported in Symfony.

This means that your application will need to explicitly import the routes to enable the bundle's controller.

```
angle_pdf_viewer:
  resource: "@AnglePDFViewerBundle/Resources/config/routes.yaml"
```

Usage
-----

[](#usage)

```
return $this->redirectToRoute('angle_pdf_viewer_view', ['file' => '/path/to/file']);
```

```
View PDF
```

Quick Test
----------

[](#quick-test)

Try to access the following URL after installing:

```
/_pdf?file=/bundles/anglepdfviewer/vendor/pdfjs/web/compressed.tracemonkey-pldi-09.pdf

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

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 ~0 days

Total

2

Last Release

750d ago

Major Versions

v0.1 → v1.02024-04-28

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/936483?v=4)[Edmundo Fuentes](/maintainers/edmundofuentes)[@edmundofuentes](https://github.com/edmundofuentes)

---

Top Contributors

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

---

Tags

pdfpdfjsangle

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/anglemx-pdf-viewer-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/anglemx-pdf-viewer-bundle/health.svg)](https://phpackages.com/packages/anglemx-pdf-viewer-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

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

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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