Skip to content

Commit dd664cc

Browse files
authored
Merge pull request #1 from DaanDeSmedt/dev
Commit master V1.0.0
2 parents a9ededc + 28bb716 commit dd664cc

18 files changed

+1868
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
PHPHeadlessChrome
2+
===============
3+
4+
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.
5+
6+
PHPHeadlessChrome provides a simple usage helper class to create PDF and / or screenshots using Headless Chrome.
7+
Trigger PDF / Screenshots generation from local file / URL.
8+
9+
In order to use this PHPHeadlessChrome helper make sure Google Chrome is correctly installer from version 59 and onwards.

composer.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "daandesmedt/phpheadlesschrome",
3+
"description": "A PHP wrapper for using Google Chrome Headless mode. Convert URL or HTML to a PDF / screenshot. Easy to use and OOP interfaced.",
4+
"type": "library",
5+
"require": {
6+
"mikehaertl/php-shellcommand": "^1.2"
7+
},
8+
"license": "MIT",
9+
"keywords": ["HTML","headless","php","pdf","chrome","screenshots"],
10+
"authors": [
11+
{
12+
"name": "Daan De Smedt",
13+
"email": "[email protected]"
14+
}
15+
],
16+
"minimum-stability": "stable",
17+
"autoload": {
18+
"psr-4": {
19+
"daandesmedt\\PHPHeadlessChrome\\": "src/"
20+
}
21+
},
22+
"require-dev": {
23+
"phpunit/phpunit": "*"
24+
}
25+
}

0 commit comments

Comments
 (0)