PHPackages                             uwebpro/scrapoxy-api - 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. [API Development](/categories/api)
4. /
5. uwebpro/scrapoxy-api

ActiveLibrary[API Development](/categories/api)

uwebpro/scrapoxy-api
====================

PHP API Container for Scrapoxy Commander

v2.1.0(5y ago)068[1 issues](https://github.com/willpercey-gb/scrapoxy-php-api/issues)[2 PRs](https://github.com/willpercey-gb/scrapoxy-php-api/pulls)1proprietaryPHPPHP ^7.3|^8.0CI failing

Since Oct 19Pushed 1w ago1 watchersCompare

[ Source](https://github.com/willpercey-gb/scrapoxy-php-api)[ Packagist](https://packagist.org/packages/uwebpro/scrapoxy-api)[ RSS](/packages/uwebpro-scrapoxy-api/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (1)Versions (15)Used By (1)

Scrapoxy Controller
===================

[](#scrapoxy-controller)

This package interacts with the API from scrapoxy via a straight-forward interface

Installing
----------

[](#installing)

```
$ composer require uwebpro/scrapoxy-api
```

Usage
-----

[](#usage)

Initialse like so, parameter one is your scrapoxy conf.json file containing

```
    use UWebPro\Scrapoxy\Container;

    $api = new Container(__DIR__ . '/conf.json');

```

If you are using a different scrapoxy host that can be changed like so, by default it is

```
    use UWebPro\Scrapoxy\Container;

    $api = new Container(__DIR__ . '/conf.json', 'http://127.0.0.1:8889);

```

Common functions
----------------

[](#common-functions)

To start and stop a proxy pool

if values are left as null they will resume from previously set scaling

```
    $api->start(?int $min, ?int $required, ?int $max);
    $api->stop();

```

To Scale your proxy pool

```
    $api->rescale(int $min, int $required, int $max);

```

To list proxy instances as objects

```
    $api->getInstances();

```

### Instance object

[](#instance-object)

The following properties are available on the instance object

```
    public string $name;
    public string $type;
    public string $status;
    public array $address;
    public string $region;
    public bool $alive;
    public string $useragent;

```

As well as the following method

```
    $instance->remove();

```

An alternative to removing instances is

```
    $api->removeInstance($name);

```

### Scrapoxy config

[](#scrapoxy-config)

Scrapoxy's config can be read and updated using the following methods

```
    $api->getConfig(); //returns of config array

    $api->updateConfig($configArray);

```

ALL METHODS RETURN API RESPONSE

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/vendor/package/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/vendor/package/issues).
3. Contribute new features or update the wiki.

You just need to make sure that you follow PSR coding guidelines.

License
-------

[](#license)

MIT

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance64

Regular maintenance activity

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 97% 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 ~10 days

Recently: every ~25 days

Total

12

Last Release

1974d ago

Major Versions

v1.0.7 → v2.0.02020-12-23

PHP version history (3 changes)v1.0.0PHP ^7.3

v2.0.0PHP ^8.0

v2.1.0PHP ^7.3|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18339947?v=4)[UWebPro](/maintainers/UWebPro)[@uwebpro](https://github.com/uwebpro)

---

Top Contributors

[![willpercey-gb](https://avatars.githubusercontent.com/u/33656628?v=4)](https://github.com/willpercey-gb "willpercey-gb (32 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/uwebpro-scrapoxy-api/health.svg)

```
[![Health](https://phpackages.com/badges/uwebpro-scrapoxy-api/health.svg)](https://phpackages.com/packages/uwebpro-scrapoxy-api)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M988](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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