lawondyss / canterville
A PHP headless browser.
0.4
2015-10-30 23:15 UTC
Requires
- php: >=5.4.0
- nette/utils: 2.3.*
Requires (Dev)
- nette/tester: 1.5.*
This package is auto-updated.
Last update: 2024-11-17 22:57:05 UTC
README
Canterville is library for work with web pages without browser. Browser here is PhantomJS or SlimerJS controlled using CasperJS. All libraries is auto installed.
WARNING: SlimerJS required Firefox.
Installation
Over Composer, required lawondyss/canterville
.
For installation PhantomJS, SlimmerJS and/or CasperJS include to your composer.json file code to section scripts
.
Example installation CasperJS with PhantomJS:
"scripts": { "post-install-cmd": [ "Canterville\\Installer::casperOnPhantom" ], "post-update-cmd": [ "Canterville\\Installer::casperOnPhantom" ] }
Options
- Installer::casperOnPhantom
- Installer::casperOnSlimer
- Installer::casper
- Installer::phantom
- Installer::slimer