|
|
%!s(int64=7) %!d(string=hai) anos | |
|---|---|---|
| src | %!s(int64=8) %!d(string=hai) anos | |
| .gitignore | %!s(int64=9) %!d(string=hai) anos | |
| .scrutinizer.yml | %!s(int64=11) %!d(string=hai) anos | |
| .travis.yml | %!s(int64=9) %!d(string=hai) anos | |
| LICENSE | %!s(int64=9) %!d(string=hai) anos | |
| README.md | %!s(int64=7) %!d(string=hai) anos | |
| composer.json | %!s(int64=7) %!d(string=hai) anos | |
| phpunit.xml.dist | %!s(int64=10) %!d(string=hai) anos |
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.
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
PHP PhantomJS is a flexible PHP library to load pages through the PhantomJS headless browser and return the page response. It is handy for testing websites that demand javascript support and also supports screen captures.