Download the PHP package irelic/readability-laravel without Composer
On this page you can find all versions of the php package irelic/readability-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download irelic/readability-laravel
More information about irelic/readability-laravel
Files in irelic/readability-laravel
Download irelic/readability-laravel
More information about irelic/readability-laravel
Files in irelic/readability-laravel
Vendor irelic
Package readability-laravel
Short Description A Laravel package to extract readable text from HTML.
License MIT
Package readability-laravel
Short Description A Laravel package to extract readable text from HTML.
License MIT
Please rate this library. Is it a good library?
Informations about the package readability-laravel
LaravelReadability
A Laravel package to extract readable text from HTML.
This package is actually a wrapper class of feelinglucky/php-readability.
Installation
Execute composer command.
composer require irelic/readability-laravel
Set the service provider in app.php
'providers' => [
Sukohi\LaravelReadability\LaravelReadabilityServiceProvider::class
]
and alias.
'aliases' => [
'LaravelReadability' => Sukohi\LaravelReadability\Facades\LaravelReadability::class
]
Basic Usage
$readability = \LaravelReadability::make($html);
try {
$data = $readability->getContent();
dd($data)
} catch (\Exception $e) {
// Content not found
}
with Encoding
$readability = \LaravelReadability::make($html, 'Shift_JIS');
License
This package is licensed under the MIT License.
Copyright 2016 Sukohi Kuhoh
All versions of readability-laravel with dependencies
PHP Build Version
Package Version
The package irelic/readability-laravel contains the following files
Loading the files please wait ....