spatie/browsershot

Convert HTML to an image, PDF or string

PHPJavaScriptphpscreenshotphantomjshacktoberfest
This is stars and forks stats for /spatie/browsershot repository. As of 04 May, 2024 this repository has 4451 stars and 493 forks.

Convert a webpage to an image or pdf using headless Chrome The package can convert a webpage to an image or pdf. The conversion is done behind the scenes by Puppeteer which controls a headless version of Google Chrome. Here's a quick example: use Spatie\Browsershot\Browsershot; // an image will be saved Browsershot::url('https://example.com')->save($pathToImage); It will save a pdf if the path passed to the save method has a pdf extension. // a pdf will be saved Browsershot::url('https://example.com')->save('example.pdf'); You...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
rouge-ruby/rougeRubysedTypeScript3.2k+17360
parcel-bundler/lightningcssRustJavaScriptHTML4.9k01390
Supernova-Studio/exporter-documentationSCSSTypeScriptJavaScript60410
mixbytes/audits_publicSolidityJavaScript2120420
euler-xyz/median-oracleSolidityJavaScriptGnuplot69060
DoctorMcKay/sourcemod-pluginsSourcePawnPHPCSS240670
leonardoalt/yoolsSMTRustYul133040
zkLinkProtocol/zklink-contractsSolidityJavaScript520350
solv-finance/erc-3525SolidityJavaScriptOther930400
dominikg/summit-2022SvelteJavaScriptCSS16030