PHPackages                             wueason/icapture - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wueason/icapture

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wueason/icapture
================

A PHP Class to interact with PhantomJs and capture screenshot of a webpage

v1.0.0(9y ago)110MITPHP

Since Apr 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/wueason/icapture)[ Packagist](https://packagist.org/packages/wueason/icapture)[ RSS](/packages/wueason-icapture/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

icapture
========

[](#icapture)

PhantomJS as a service with Swoole module. Icapture can be a service for your screenshop purpose.

Requirements
------------

[](#requirements)

- PHP 5.3+
- Redis 2.2+ and make sure the redis is up
- Swoole extension 1.8.13+
- Optional but Recommended: Composer

Getting Started
---------------

[](#getting-started)

If you're not familiar with Composer, please see .

1. Add icapture to your application's composer.json.

```
{
    "require": {
        "wueason/icapture": "1.0.x"
    }
}
```

2. Run `composer install`.
3. If you haven't already, add the Composer autoload to your project's initialization file. (example)

```
require 'vendor/autoload.php';
```

4. Service management.

```
make start
make stop
make restart

```

5. Composer a request with `\Icapture\CaptureClient`, and get the capture.

```
$client = new \Icapture\CaptureClient();

$client->request();

echo $clien->getCaptureFile();
```

Tips
----

[](#tips)

PhantomJS binary file in Screen may be broken, you can use your own with `phantomjsBinPath` setting instead.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3317d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c7bb6f8e93b2d4bb518d720fa91ec9c577fab4e3eaedab103f921c77f9b8ab20?d=identicon)[wueason](/maintainers/wueason)

---

Top Contributors

[![wueason](https://avatars.githubusercontent.com/u/3060393?v=4)](https://github.com/wueason "wueason (2 commits)")

---

Tags

servicecapturephantomjsscreenprint-screen

### Embed Badge

![Health badge](/badges/wueason-icapture/health.svg)

```
[![Health](https://phpackages.com/badges/wueason-icapture/health.svg)](https://phpackages.com/packages/wueason-icapture)
```

###  Alternatives

[microweber/screen

A PHP Class to interact with PhantomJs and capture screenshot of a webpage

632226.0k1](/packages/microweber-screen)[jakoch/phantomjs-installer

A Composer package which installs the PhantomJS binary (Linux, Windows, Mac) into `/bin` of your project.

1515.4M72](/packages/jakoch-phantomjs-installer)[getsolaris/laravel-make-service

A MVCS pattern create a service command for Laravel 5+

81161.3k](/packages/getsolaris-laravel-make-service)[hybridlogic/phantomjs

A PHP library to execute PhantomJS scripts and return their results.

57158.3k](/packages/hybridlogic-phantomjs)[prevailexcel/laravel-action-service-trait

A simple Laravel package to create actions, traits and services using artisan commands

143.0k](/packages/prevailexcel-laravel-action-service-trait)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
