flamecore/flink

Simple and intuitive linkparser framework

dev-master 2015-09-18 16:14 UTC

This package is auto-updated.

Last update: 2021-02-11 20:00:58 UTC


README

Build Status Scrutinizer Coverage License

Parse a link, getting the images, the title and the description of the webpage.

This package includes a PHP library and a Linkparser Box plugin for jQuery.

Using Flink

See the demo/ directory for a usage example.

Installation

Install via Composer

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

{
    "require": {
        "flamecore/flink": "dev-master"
    }
}

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\Flink\Flink;

require_once 'vendor/autoload.php';

Requirements

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

Contributors

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

Thanks to the contributors:

  • Tony of RedsunSoft
  • Alejandro Parra (maparrar)
  • Christian Neff (secondtruth)

History

  • Original code (PHP + jQuery) by Tony of Redsunsoft

  • Code modified by maparrar (Revision: 2013-03-29)

    • Created plugin for the JS code
    • Created class for the PHP code
    • Included callback at the end of process
    • Some other improvements
  • Code cleanup and Framework implementation by IceFlame.net