PHPackages                             luka-dev/headless-task-server-php - 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. luka-dev/headless-task-server-php

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

luka-dev/headless-task-server-php
=================================

Helper for sending requests to luka-dev/headless-task-server

v1.4.0(3y ago)109.6k↓16.7%MITPHPPHP &gt;=7.3

Since Apr 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/luka-dev/headless-task-server-php)[ Packagist](https://packagist.org/packages/luka-dev/headless-task-server-php)[ RSS](/packages/luka-dev-headless-task-server-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

PHP Helper lib for [luka-dev/headless-task-server](https://github.com/luka-dev/headless-task-server)
====================================================================================================

[](#php-helper-lib-for-luka-devheadless-task-server)

This lib help to prepare request with your scraper script and parse response.

Install
=======

[](#install)

```
composer require luka-dev/headless-task-server-php
```

Usage
=====

[](#usage)

- Connect to server

```
use LuKa\HeadlessTaskServerPhp\Server;

//Let's created connection to specific server
$server = new Server(
        'http://127.0.0.1:8080/', //Addres to your task-server
        'MySecretAuthKeyIfNeeded' //AUTH_KEY from server
    );

//This test will return true, if server work correct
$server->isAlive()
```

- Create Task

```
//From var
$task = new Task('here you can past your js');

//OR

//From file
$task = Task::fromFile('./path/to/file.js');
```

- Set additional Options

```
$options = new Options();

//Set locale for our browser
$options->setLocale('en-US');

//Set proxy for our browser (http or socks5)
$options->setUpstreamProxyUrl('http://username:password@proxy.com:80');
```

- Run Task and get Response

```
$response = $server->runTask($task, $options);

//Get session
$session = $response->getSession();

//Check if Task DONE in correct way
$isDONE = $response->getStatus() === \LuKa\HeadlessTaskServerPhp\Enum\ResponseStatuses::RESOLVE;

//Get Timings (How much time take to process this Task)
$timings = $response->getTimings()
//You can use this:
//$timings->getCreatedAt()
//$timings->getBeginAt()
//$timings->getEndAt()

//Here will be provided all output from `resolve`
$output = $response->getOutput();
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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.

###  Release Activity

Cadence

Every ~190 days

Total

3

Last Release

1119d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c339fe65debd12d5b26c3f42a71177f5c43d9809619feada1ccecd52b29b146b?d=identicon)[luka-dev](/maintainers/luka-dev)

---

Top Contributors

[![luka-dev](https://avatars.githubusercontent.com/u/43535027?v=4)](https://github.com/luka-dev "luka-dev (16 commits)")

---

Tags

phpbrowserautomationJSparseheadlesschromepuppeteertaskcrawlscraperenderchromiumclusterplaywrightherosecret-agent

### Embed Badge

![Health badge](/badges/luka-dev-headless-task-server-php/health.svg)

```
[![Health](https://phpackages.com/badges/luka-dev-headless-task-server-php/health.svg)](https://phpackages.com/packages/luka-dev-headless-task-server-php)
```

###  Alternatives

[chrome-php/chrome

Instrument headless chrome/chromium instances from PHP

2.6k4.5M64](/packages/chrome-php-chrome)[playwright-php/playwright

Modern PHP library for Playwright automation: browsing, scraping, screenshots, testing, and more.

7613.0k5](/packages/playwright-php-playwright)[renoki-co/clusteer

Clusteer is a Puppeteer wrapper written for PHP, with the super-power of parallelizing pages across multiple browser instances.

891.2k](/packages/renoki-co-clusteer)[spiritix/php-chrome-html2pdf

A PHP library for converting HTML to PDF using Google Chrome

153472.0k3](/packages/spiritix-php-chrome-html2pdf)[jakubkulhan/chrome-devtools-protocol

Chrome Devtools Protocol client for PHP

183967.6k3](/packages/jakubkulhan-chrome-devtools-protocol)[robertfausk/mink-panther-driver

Symfony Panther driver for Mink framework

123.4M2](/packages/robertfausk-mink-panther-driver)

PHPackages © 2026

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