PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Uldis Nelsons   YII D3 PHP PDF Object   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: YII D3 PHP PDF Object
Embed PDF documents in HTML pages
Author: By
Last change:
Date: 4 years ago
Size: 599 bytes
 

Contents

Class file image Download

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(); ?>