PHPackages                             lciolecki/webshot - 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. [Image &amp; Media](/categories/media)
4. /
5. lciolecki/webshot

ArchivedApplication[Image &amp; Media](/categories/media)

lciolecki/webshot
=================

PHP application for generate screenshots Web pages

111PHP

Since Mar 22Pushed 12y agoCompare

[ Source](https://github.com/lciolecki/webshot)[ Packagist](https://packagist.org/packages/lciolecki/webshot)[ RSS](/packages/lciolecki-webshot/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Webshot screen server
=====================

[](#webshot-screen-server)

Webshot Screen Server it's an web application for generate website screenshots. System is based on CutyCapt application (). It's allows you to take screenshots of any web pages and save them as images in png formats. Application was created in PHP technology and uses Zend Framework whith Doctrine 2.

Required: xvfb-run and cutycapt applications.

Avaiable options: url,min-width,min-height,max-wait,delay,user-style-path,user-style-string,header,method,body-string,body-base64,app-name,app-version,user-agent,app,javascript,java,plugins,private-browsing,auto-load-images,js-can-open-windows,js-can-access-clipboard,print-backgrounds,zoom-factor,zoom-text-only,http-proxy.

\##Installation using Composer

```
{
    "minimum-stability": "dev",
    "require": {
        "lciolecki/webshot": "dev-master"
    }
}

```

**Important**: For property install, please use: composer install -o

\#Sample use in Zend Framework

```
public function webshotAction()
{
        $params = array(
          'url' => 'http://google.pl',
          'hash' => '2131sada', //unique identifcator of service
          'sign' => 'adad13123' //sign key for http://google.pl + 2131sada
        );

        $url = 'yourdomain/api/create';
        $client = new Zend_Http_Client($url);
        $client->setMethod(Zend_Http_Client::POST)
               ->setHeaders('X-Requested-With', 'XMLHttpRequest')
               ->setParameterPost($params)
               ->setConfig(array('timeout' => 180));

        $response = $client->request();

        $return = Zend_Json::decode($response->getBody());
        $code = isset($return['code']) ? $return['code'] : 200;

      if ($code === 200) {
          $this->_helper->viewRenderer->setNoRender(true);
          $this->_helper->layout->disableLayout();

          $content = file_get_contents($return['image']);
          $this->getResponse()->setHeader('Content-type', 'image/png');
          $this->getResponse()->setBody($content);
          $this->getResponse()->sendResponse();
        } else {
          throw new Exception('An error on generate screenshot');
        }
    }

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/907665?v=4)[Łukasz Ciołecki](/maintainers/lciolecki)[@lciolecki](https://github.com/lciolecki)

---

Top Contributors

[![lciolecki](https://avatars.githubusercontent.com/u/907665?v=4)](https://github.com/lciolecki "lciolecki (27 commits)")

### Embed Badge

![Health badge](/badges/lciolecki-webshot/health.svg)

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

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

133890.0k3](/packages/goat1000-svggraph)[imagekit/imagekit

PHP library for Imagekit

46877.3k10](/packages/imagekit-imagekit)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

12644.1k2](/packages/gravatarphp-gravatar)

PHPackages © 2026

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