Download the PHP package pwaldhauer/browsershot-aio without Composer
On this page you can find all versions of the php package pwaldhauer/browsershot-aio. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pwaldhauer/browsershot-aio
More information about pwaldhauer/browsershot-aio
Files in pwaldhauer/browsershot-aio
Download pwaldhauer/browsershot-aio
More information about pwaldhauer/browsershot-aio
Files in pwaldhauer/browsershot-aio
Vendor pwaldhauer
Package browsershot-aio
Short Description All in one Docker Container to run Browsershot
License MIT
Package browsershot-aio
Short Description All in one Docker Container to run Browsershot
License MIT
Please rate this library. Is it a good library?
Informations about the package browsershot-aio
Browsershot All in One (everything here is still WIP)
This is a combinaton of two things:
- A Docker image based on alpine-chrome including a simple Express server that executes the command generated by the Browsershot library by Spatie
- A simple PHP wrapper that extends the original Browsershot library with the code to call the Express server instead of using node to call Puppeteer
Why?
- I do not want to include Node and Puppeteer in my main PHP application image
- I do not want to mess with all the hassle of using
remoteInstance
- I do not want to use Lambda functions using the wonderful sidecar-browsershot library (Instead I was heavily influenced by it.)
Caution
It may very well be that half of the functions of Browsershot do not work. I just tested simple pdf generation. Also the Express server has no authentication. I won't recommend using this in a production environment.
Running
For more information please see the README of alpine-chrome
Or use something like that in a docker-compose.yml:
Using in PHP
Use it like you would use Browsershot
but replace it with BrowsershotAio
. Be sure to set the url to the express server:
License
MIT
All versions of browsershot-aio with dependencies
PHP Build Version
Package Version
The package pwaldhauer/browsershot-aio contains the following files
Loading the files please wait ....