Hi all, in this section i will show you how to make a simple PDF view that u can use for reporting or else using MPDF :

1. Download MPDF here : http://github.com/smgladkovskiy/kohana-mpdf
2. Extract and copy the ‘classes’ and ‘vendor’

folder inside ‘modules/mpdf’

3. edit bootstrap.php and add this line :
‘mpdf’ => MODPATH.’mpdf’

4. Usage :

add this following code to use mpdf :

// Load a view using the PDF extension
$pdf = View_MPDF::factory('pdf/example');

// Use the PDF as the request response
$this->request->response = $pdf;

this will create pdf page loud and clear 😉 thx to ener as the creator!