|
|
@@ -1,41 +1,3 @@
|
|
|
-Disclaimer
|
|
|
-==========
|
|
|
-
|
|
|
-This fork and its Packagist pack are created for one reason only - the original developer is beyond the reach, whereas folks procceed to use this Library, which has some tiny problems in its code, that should be fixed and merged.
|
|
|
-
|
|
|
-Installation
|
|
|
-============
|
|
|
-
|
|
|
-Prerequisites:
|
|
|
--------------
|
|
|
-Make sure the followings are on your composer.json file:
|
|
|
-
|
|
|
- #composer.json
|
|
|
-
|
|
|
- "scripts": {
|
|
|
- "post-install-cmd": [
|
|
|
- "PhantomInstaller\\Installer::installPhantomJS"
|
|
|
- ],
|
|
|
- "post-update-cmd": [
|
|
|
- "PhantomInstaller\\Installer::installPhantomJS"
|
|
|
- ]
|
|
|
- }
|
|
|
-
|
|
|
- #composer.json
|
|
|
-
|
|
|
- "config": {
|
|
|
- "bin-dir": "bin"
|
|
|
- }
|
|
|
-
|
|
|
-Ready to install:
|
|
|
-
|
|
|
- composer require cocostru/php-phantomjs
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-ORIGINAL README
|
|
|
-===============
|
|
|
-
|
|
|
PHP PhantomJS
|
|
|
=============
|
|
|
|
|
|
@@ -63,4 +25,4 @@ Feature List
|
|
|
* Delay page rendering for a specified time
|
|
|
* Delay page rendering until page resources are fully loaded
|
|
|
* Execute PhantomJS with command line options
|
|
|
-* Easily build and run custom PhantomJS scripts
|
|
|
+* Easily build and run custom PhantomJS scripts
|