2017 © Pedro Peláez
 

yii2-extension yii2-dompdf-formatter

Formats response in pdf

image

bariew/yii2-dompdf-formatter

Formats response in pdf

  • Thursday, October 15, 2015
  • by bariew
  • Repository
  • 1 Watchers
  • 0 Stars
  • 86 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

Yii2 dompdf formatter

See example below., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist bariew/yii2-dompdf-formatter "*"

or add, (*4)

"bariew/yii2-dompdf-formatter": "*"

to the require section of your composer.json file., (*5)

Usage

    Define app component in main config components section like in this example:
    'components' => [
    ...
        'formatters' => [
            'pdf' => [
                'class' => 'bariew\components\ResponseFormatter',
            ],
        ],
    ]

The Versions

15/10 2015

dev-master

9999999-dev

Formats response in pdf

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

extension yii2 pdf