From 24d1eda717815467394979702dfc25cc4f4e4c7d Mon Sep 17 00:00:00 2001 From: Russ Long Date: Fri, 1 May 2026 09:57:46 -0400 Subject: [PATCH] feat: install spatie/browsershot --- composer.json | 1 + composer.lock | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 70 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 2e04633..52e6eb8 100644 --- a/composer.json +++ b/composer.json @@ -15,6 +15,7 @@ "laravel/tinker": "^2.9", "laravel/ui": "^4.2", "socialiteproviders/manager": "^4.9", + "spatie/browsershot": "^5.3", "spatie/laravel-pdf": "^2.8" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 683a318..9558fc2 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "91ae6772f9ad6590dc3dafcf7b4899fe", + "content-hash": "eb73237e8d87f14d74bd22923c5b8523", "packages": [ { "name": "barryvdh/laravel-snappy", @@ -6100,6 +6100,74 @@ }, "time": "2026-03-18T22:13:24+00:00" }, + { + "name": "spatie/browsershot", + "version": "5.3.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/browsershot.git", + "reference": "91ba83158c4c7cdee34562cca7936ed995b87f3e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/browsershot/zipball/91ba83158c4c7cdee34562cca7936ed995b87f3e", + "reference": "91ba83158c4c7cdee34562cca7936ed995b87f3e", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "ext-json": "*", + "php": "^8.2", + "spatie/temporary-directory": "^2.0", + "symfony/process": "^6.0|^7.0|^8.0" + }, + "require-dev": { + "pestphp/pest": "^3.0|^4.0", + "spatie/image": "^3.6", + "spatie/pdf-to-text": "^1.52", + "spatie/phpunit-snapshot-assertions": "^5.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Browsershot\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://github.com/freekmurze", + "role": "Developer" + } + ], + "description": "Convert a webpage to an image or pdf using headless Chrome", + "homepage": "https://github.com/spatie/browsershot", + "keywords": [ + "chrome", + "convert", + "headless", + "image", + "pdf", + "puppeteer", + "screenshot", + "webpage" + ], + "support": { + "source": "https://github.com/spatie/browsershot/tree/5.3.0" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2026-04-27T08:01:04+00:00" + }, { "name": "spatie/invade", "version": "2.1.0",