Easily create PDF and images in Symfony by converting HTML using webkit. Snappy is a PHP wrapper for the wkhtmltopdf conversion utility. It allows you to generate either pdf or image files from your html documents, using the webkit engine. The KnpSnappyBundle provides a simple integration for your Symfony project. If you need to change the binaries, change the instance options or even disable one or both services, you can do it through the configuration. Render a pdf document with a relative url inside like css files. Render a pdf document as a response from a controller. Render an image as response from a controller. Generate a pdf document from a twig view.

Features

  • Generate an image from a URL
  • Generate a pdf document from multiple URLs
  • Generate a pdf document from a URL
  • Generate a pdf document from a twig view
  • Render an image as response from a controller
  • Render a pdf document as response from a controller

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow KnpSnappyBundle

KnpSnappyBundle Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of KnpSnappyBundle!

Additional Project Details

Programming Language

PHP

Related Categories

PHP PDF Generation Libraries

Registered

2023-03-22