wahyugnc/yii2-pdfjs

This package is abandoned and no longer maintained. No replacement package was suggested.

This extension is a rewrite of extension owned Lucky Vic luckynvic@gmail.com written in Yii 1

Installs: 817

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 2

Open Issues: 0

Language:Java

Type:yii2-extension

1.0.0 2015-07-07 07:30 UTC

This package is not auto-updated.

Last update: 2023-06-24 11:07:21 UTC


README

This extension is a rewrite of extension owned Lucky Vic luckynvic@gmail.com written in Yii 1

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist wahyugnc/yii2-pdfjs "*"

or add

"wahyugnc/yii2-pdfjs": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?php use wahyugnc\pdfjs\ViewerPDF; ?>
<?=ViewerPDF::widget(['url' => '/path/to/filename.pdf']);?>