Skip to content

efisuby/Kohana-html2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kohana-HTML2PDF convert


Description

Module Kohana for convert HTML to PDF using class HTML2PDF


Requirements & Installation

  1. install module in bootstrap.php

  2. In config file sets Your locate


Using

  • In Controller

Set up a configuration data



       $config = array(
                'author'   => 'Your name',
                'title'    => 'Your title',
                'subject'  => 'Your subject',
                'name'     => Text::random().'.pdf', // name file pdf
        );

Geterate an pdf from HTML


$view = View_PDF::factory('admin/report/pdf', $config)
        ->set('variable', $Data)
        ->render();

About

Kohana module for PDF convert using HTML2PDF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages