Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

FlameCore Webtools

Latest Stable Build Status Scrutinizer Coverage License

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.

Usage instructions and more information can be found in our Wiki.

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

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 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 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

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

Contributors

If you want to contribute, please see the CONTRIBUTING file first.

Thanks to the contributors:

  • Christian Neff (secondtruth)

About

ABANDONED - Common tools for working with web resources

Resources

License

Packages

No packages published
You can’t perform that action at this time.