PHP code example of clientbg / php-boiler-pipe

1. Go to this page and download the library: Download clientbg/php-boiler-pipe library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

clientbg / php-boiler-pipe example snippets

 php
# html
$path = "http://example.com/some-article.html";
$data = file_get_contents($path);

# code
$ae = new Clientbg\PhpBoilerPipe\ArticleExtractor();
echo $ae->getContent($data) . "\n";