Ratings | | Unique User Downloads | | Download Rankings |
Not enough user ratings | | Total: 161 This week: 1 | | All time: 8,809 This week: 182 |
|
Description | | Author |
This package can embed PDF documents in HTML pages.
It extends the YII widget class to configure the generation of HTML and JavaScript to render a PDF document in a Web page.
The package used the PDF Object JavaScript library to render PDF documents on the browser site. Recommendations
Innovation Award
 June 2019
Number 10 |
PDF files are frequently used by many applications to display documents that can be used for printing in paper.
If you just want to display those documents in a Web page before you decide if you want to print them, it is useful to make them be rendered in a way that can be viewed clearly by the users.
This package can generate the necessary HTML and JavaScript to display PDF documents embedded in a Web page using widgets provided by the YII framework.
Manuel Lemos |
| |
 |
|
Innovation award
 Nominee: 7x
Winner: 2x |
|
Details
PDFObject
Wrapper for the PDFObject - A lightweight JavaScript utility for dynamically embedding PDFs in HTML documents. http://pdfobject.com/
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist d3yii2/pdfobject "*"
or add
"d3yii2/pdfobject": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \d3yii2\pdfobject\PDFObject::widget(); ?>
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.