Skip to content

PSPDFKit-labs/html-to-image-laravel

Repository files navigation

Convert HTML to Image using wkhtmltoimage & Laravel

Getting Started

This repository is an example of how to convert HTML to Image using wkhtmltoimage & Laravel. Check out the accompanying blog post!

Running the Example

  1. Clone this repository:
git clone https://github.com/PSPDFKit-labs/html-to-image-laravel.git
  1. Install dependencies:
npm install
  1. Convert HTML file to an image:
php artisan convert:html-to-image public/index.html public/image.png

Image is saved to the public/image.png file.

Contributing

Please ensure you have signed our CLA so that we can accept your contributions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published