robiningelbrecht / docker-browsershot
Package info
github.com/robiningelbrecht/docker-browsershot
Language:Dockerfile
pkg:composer/robiningelbrecht/docker-browsershot
dev-master
2023-02-11 15:54 UTC
Requires
- php: ^8.1
- spatie/browsershot: ^3.57
This package is auto-updated.
Last update: 2026-02-11 22:24:43 UTC
README
A docker container that allows you to use the Spatie\Browsershot package. Currently it requires ^php8.1, feel free to fork and change. Consider giving it a ⭐ when you do.
Installation & usage
- Clone this repository
git clone git@github.com:robiningelbrecht/docker-browsershot.git - Run
docker-compose up -d --buildto spin up and build the required container - Run
docker-compose run --rm php-cli composer installto install PHP dependencies - Run
docker-compose run --rm php-cli npm installto install Node dependencies - Run the example by executing
docker-compose run --rm php-cli php example.php
