d3yii2/pdfobject

Yii2 extension for the PDFObject - A lightweight JavaScript utility for dynamically embedding PDFs in HTML documents. http://pdfobject.com/

Installs: 470

Dependents: 1

Suggesters: 0

Security: 0

Stars: 3

Watchers: 5

Forks: 0

Open Issues: 1

Type:yii2-extension

dev-master 2021-12-16 10:45 UTC

This package is auto-updated.

Last update: 2024-11-11 18:15:55 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(); ?>