Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

php-casperjs

> 编程语言
Open source

simple PHP wrapper for CasperJS

182 stars0 likes0 views
WebsiteGitHub

About

simple PHP wrapper for CasperJS

php-casperjs

php-casperjs is a simple PHP wrapper for the fine library CasperJS designed to automate user testing against web pages.

It is easy to integrate into PHPUnit test case.

Making webcrawler has never been so easy!

Installation

Before using php-casperjs, you need to install both library:

1 - PhantomJS http://phantomjs.org/download.html

2 - CasperJS http://docs.casperjs.org/en/latest/installation.html

bash
npm install phantomjs
npm install casperjs

then

bash
composer require phpcasperjs/phpcasperjs

Usage

…

If you want to see your crawler in action, set the engine to slimerjs

php
$casper = new Casper();
$casper->setOptions(['engine' => 'slimerjs']);

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHP

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言