Do you have tried SnappyBundle on Symfony2? It give me this error: Undefined property: appDevDebugProjectContainer::$snappyPdf
Probably I've missed some configuration parameters or setted it wrongs. I've downloaded and placed Snappy php5 lib on src/vendor dir as reported in the Requirements section of the readme ## Requirements You should have [Snappy](http://github.com/knplabs/snappy) (php5.3 branch) installed in your src/vendor dir and registered in your autoload. In my autoload.php I've added: 'Snappy' => $vendorDir.'/snappy/src' and also registered the Bundle in registerBundles method of my AppKernel.php new Bundle\SnappyBundle\SnappyBundle(), wkhtmltopdf lib is correctly installed under my Ubuntu machine. I use it without problem both from shell and from symfony 1.4 applications too. On 19 Ott, 09:25, Florian <[email protected]> wrote: > Hi, > > If you're talking of Symfony2, there is a bundle for that > :http://symfony2bundles.org/knplabs/SnappyBundle > > It uses the Snappy php5 lib, which is a wrapper for > wkhtml2pdf.http://github.com/knplabs/snappy > > On 19 oct, 09:03, fxsymfony <[email protected]> wrote: > > > Has anyone used WkHtmlToPdf in Symfony? I have it set up on my server > > (in works on command line) but don't know how to use in Symfony to > > generate pdf files. > > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
