Skip to content

hallowelt/misc-BSPagePreviewImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP wrapper for PhantomJS (based on Slim 3 Framework)

You can use PhantomJS as web-service with this wrapper

Usage

Send GET request with such parameters /?url={url}&cookies={cookies}

required {url} - address of the page from that you want to get a screenshot

optional {cookies} - if page couldn't be open without authentication, please send this param

response - PNG image or exception if something went wrong

Settings

Application entrypoint: /public/index.php

/src/settings.php - here you can configure path to the local phantomjs application

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published