Skip to content

Commit

Permalink
Merge pull request #1 from DaanDeSmedt/dev
Browse files Browse the repository at this point in the history
Commit master V1.0.0
  • Loading branch information
DaanDeSmedt authored Nov 20, 2017
2 parents a9ededc + 28bb716 commit dd664cc
Show file tree
Hide file tree
Showing 18 changed files with 1,868 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
PHPHeadlessChrome
===============

Headless Chrome is shipping in Chrome 59. It's a way to run the Chrome browser in a headless environment. Essentially, running Chrome without chrome! It brings all modern web platform features provided by Chromium and the Blink rendering engine to the command line.

PHPHeadlessChrome provides a simple usage helper class to create PDF and / or screenshots using Headless Chrome.
Trigger PDF / Screenshots generation from local file / URL.

In order to use this PHPHeadlessChrome helper make sure Google Chrome is correctly installer from version 59 and onwards.
25 changes: 25 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "daandesmedt/phpheadlesschrome",
"description": "A PHP wrapper for using Google Chrome Headless mode. Convert URL or HTML to a PDF / screenshot. Easy to use and OOP interfaced.",
"type": "library",
"require": {
"mikehaertl/php-shellcommand": "^1.2"
},
"license": "MIT",
"keywords": ["HTML","headless","php","pdf","chrome","screenshots"],
"authors": [
{
"name": "Daan De Smedt",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"daandesmedt\\PHPHeadlessChrome\\": "src/"
}
},
"require-dev": {
"phpunit/phpunit": "*"
}
}
Loading

0 comments on commit dd664cc

Please sign in to comment.