โ˜… Easily convert webpages to images using PHP

1 ยท Freek Van der Herten ยท July 3, 2017, 8:44 a.m.
Browsershot is a package that can easily convert any webpage into a image. Under the hood the conversion is made possible new headless options in Chrome 59. In this post I'd like to show you how you can use Browsershot v2. Here's a quick example of how it can be used: Browsershot::url('https://example.com')->save($pathToImage); History About three years ago I started working on my first package, called Browsershot. It can convert any webpage to an image. Under the hood PhantomJS was used to per...