phoxy / clap
Make html snapshot for search engines
v0.1.2
2016-05-28 11:35 UTC
Requires
- enelar/phpantomjs: ~0.0
This package is auto-updated.
Last update: 2026-03-08 01:25:28 UTC
README
=== Making snapshot of phoxy
=== Installing
Add to your composer.json
"config":
{
"bin-dir": "bin"
},
"scripts":
{
"post-package-install":
[
"PhantomInstaller\\Installer::installPhantomJS"
]
}
Add to your warmup.js (or create your lazy config)
OnFirstPageRendered: function()
{
if (typeof window.callPhantom == 'function')
window.callPhantom('clap');
}