sfTCPDFReloadedPlugin - 1.0.0

symfony sample plugin

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to the Plugins Home


Forgot your password?
Create an account



advanced search
Information Readme Releases Changelog Contribute
This plugin is deprecated and is not maintained anymore. Changed the name to sfTCPDFFPDIPlugin
Show source | Show as Markdown

This plugin allows you to easily create a pdf file. You can also import an existing pdf in the background.


svn checkout http://sf-tcpdf-reloaded-plugin.googlecode.com/svn/trunk/plugins/sfTCPDFReloadedPlugin
php symfony cc
php symfony plugin:publish-assets

Add the Plugin in your ProjectConfiguration Class



Download the TCPDFLib from: http://www.tcpdf.org/

Copy the files into yourProjectPath/plugins/sfTCPDFReloadedPlugin/lib/tcpdf/

Activate the Plugin in your ProjectConfiguration.Class



Usage example:

$pdf = new sfTCPDFReloaded();
$pdf->writeHTML('Hello World!');
$pdf->Output('ibrows.ch.pdf', 'I');

more examples under: http://www.tcpdf.org/examples.php