acDompdfPlugin - 1.0.1

acDompdfPlugin - Allows you to use the DOMPDF library.

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
Show source

acDompdfPlugin (for symfony 1.3/1.4)

Allows you to use easily the DOMPDF library (an HTML to PDF converter).


  • Install the plugin (via a package)

    symfony plugin:install acDompdfPlugin
  • Install the plugin (via a git clone)

    git clone git:// acDompdfPlugin
  • Activate the plugin in the config/ProjectConfiguration.class.php

    class ProjectConfiguration extends sfProjectConfiguration
      public function setup()
  • Clear you cache

    symfony cc
  • Note : the DOMPDF library is included in the plugin (in its stable version 0.5.2)


  • The DOMPDF class is autoloaded now, you can use it easily

    $pdf = new DOMPDF();
  • For more information on DOMPDF, see the project and documentation at DOMPDF Project