承接 wueason/icapture 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wueason/icapture

Composer 安装命令:

composer require wueason/icapture

包简介

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

README 文档

README

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

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

If you're not familiar with Composer, please see http://getcomposer.org/.

  1. Add icapture to your application's composer.json.
{
    "require": {
        "wueason/icapture": "1.0.x"
    }
}
  1. Run composer install.

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

require 'vendor/autoload.php';
  1. Service management.
make start
make stop
make restart
  1. Composer a request with \Icapture\CaptureClient, and get the capture.
$client = new \Icapture\CaptureClient();

$client->request();

echo $clien->getCaptureFile();

Tips

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

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-04-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固