flamecore / flink
Simple and intuitive linkparser framework
This package's canonical repository appears to be gone and the package has been frozen as a result.
Requires
- php: >=5.3
- doctrine/cache: 1.4.*
- flamecore/webtools: 2.0.*
Requires (Dev)
- codeclimate/php-test-reporter: 0.1.*
- phpunit/phpunit: 4.5.*
- scrutinizer/ocular: ~1.1
Suggests
- fg/essence: Allows using the Essence crawler
This package is auto-updated.
Last update: 2021-02-11 20:00:58 UTC
README
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