Ratings | | Unique User Downloads | | Download Rankings |
Not enough user ratings | | Total: 183 | | All time: 8,683 This week: 488 |
|
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. 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: 12x
Winner: 2x |
|
Recommendations
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.