It would be nice to see this product in composer repository. I'd like to automatically install dependencies in one command with all libs.
Feature Requests: #25
My first time doing this, but it seems to work:
composer require simplehtmldom/simlehtmldom dev-master
<?php require_once 'vendor/autoload.php'; use simplehtmldom\HtmlWeb; echo (new HtmlWeb())->load('https://google.com/')->find('title', 0)->plaintext;
Log in to post a comment.
My first time doing this, but it seems to work: