d3yii2 / pdfobject
Yii2 extension for the PDFObject - A lightweight JavaScript utility for dynamically embedding PDFs in HTML documents. http://pdfobject.com/
Installs: 477
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 5
Forks: 0
Open Issues: 1
Type:yii2-extension
Requires
- php: >=5.4.0
This package is auto-updated.
Last update: 2024-12-11 18:26:10 UTC
README
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(); ?>