PHPackages                             flamecore/webtools - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. flamecore/webtools

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

flamecore/webtools
==================

Common tools for working with web resources

v2.0.1(10y ago)4461ISCPHPPHP &gt;=5.4

Since Dec 14Pushed 10y ago6 watchersCompare

[ Source](https://github.com/flamecore/webtools)[ Packagist](https://packagist.org/packages/flamecore/webtools)[ Docs](http://www.flamecore.org)[ RSS](/packages/flamecore-webtools/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (24)Used By (0)

FlameCore Webtools
==================

[](#flamecore-webtools)

[![Latest Stable](https://camo.githubusercontent.com/f66fb6376d49d944c3b7cf6730646db93284f79487e19a48e2b5ff20c8cd04fa/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c616d65636f72652f776562746f6f6c732e737667)](https://packagist.org/packages/flamecore/webtools)[![Build Status](https://camo.githubusercontent.com/6605b7375aa200d85a7dbc00638c4e3dd88588b6ebf017e75e00e69452188c35/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f466c616d65436f72652f576562746f6f6c732e737667)](https://travis-ci.org/FlameCore/Webtools)[![Scrutinizer](https://camo.githubusercontent.com/a5e53d0c7cdbcf13eae81f3726c87b90e83f93a8e89494bcbca62f74cc54ecee/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f466c616d65436f72652f576562746f6f6c732e737667)](https://scrutinizer-ci.com/g/FlameCore/Webtools)[![Coverage](https://camo.githubusercontent.com/8d76d8e96209ef87328eddc268704978528644d49692924b497932f05db64762/687474703a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f636f7665726167652f6769746875622f466c616d65436f72652f576562746f6f6c732e737667)](https://codeclimate.com/github/FlameCore/Webtools/coverage)[![License](https://camo.githubusercontent.com/1d6b8e75e7efac001d74c95d799d14506c0db882c5301473e827c890ff890c03/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f666c616d65636f72652f776562746f6f6c732e737667)](http://www.flamecore.org/projects/webtools)

This library provides common tools for working with web resources. The components are designed to be lightweight, fast and easy to use.

The Webtools package was developed for our linkparser framework [Flink](https://github.com/FlameCore/Flink).

Usage instructions and more information can be found [in our Wiki](https://github.com/FlameCore/Webtools/wiki).

Components
----------

[](#components)

- **UserAgent**

    Simple and fast User Agent string parser
- **WebpageAnalyzer**

    Get images, title and description of a webpage
- **HttpClient**

    Simple and intuitive HTTP Client
- **HtmlExplorer**

    Convenience wrapper for DOMDocument

Installation
------------

[](#installation)

### Install via Composer

[](#install-via-composer)

Create a file called `composer.json` in your project directory and put the following into it:

```
{
    "require": {
        "flamecore/webtools": "2.0.*"
    }
}

```

[Install Composer](https://getcomposer.org/doc/00-intro.md#installation-nix) if you don't already have it present on your system:

```
$ curl -sS https://getcomposer.org/installer | php

```

Use Composer to [download the vendor libraries](https://getcomposer.org/doc/00-intro.md#using-composer) and generate the vendor/autoload.php file:

```
$ php composer.phar install

```

Include the vendor autoloader and use the classes:

```
namespace Acme\MyApplication;

use FlameCore\Webtools\HttpClient;
use FlameCore\Webtools\HtmlExplorer;

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

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

[](#requirements)

- You must have at least PHP version 5.4 installed on your system.

Contributors
------------

[](#contributors)

If you want to contribute, please see the [CONTRIBUTING](CONTRIBUTING.md) file first.

Thanks to the contributors:

- Christian Neff (secondtruth)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

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

Every ~11 days

Total

23

Last Release

3932d ago

Major Versions

v1.3.1 → v2.0.02015-07-22

PHP version history (2 changes)v1.0.0PHP &gt;=5.3

v1.1.0PHP &gt;=5.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/82268b2432ab90f14c62445938bc3cd1340dc66e0463035df57891826b418016?d=identicon)[secondtruth](/maintainers/secondtruth)

---

Top Contributors

[![secondtruth](https://avatars.githubusercontent.com/u/416441?v=4)](https://github.com/secondtruth "secondtruth (96 commits)")

---

Tags

httpwebhtml

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/flamecore-webtools/health.svg)

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

###  Alternatives

[duzun/hquery

An extremely fast web scraper that parses megabytes of HTML in a blink of an eye. No dependencies. PHP5+

363146.3k4](/packages/duzun-hquery)[middlewares/minifier

Middleware to minify Html, CSS and Javascript responses

1729.1k2](/packages/middlewares-minifier)[pecee/tinder-sdk

Easy to use PHP SDK for accessing Tinder data.

191.3k](/packages/pecee-tinder-sdk)

PHPackages © 2026

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