Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
composer.lock
vendor/
phpunit.xml
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ install:
- composer install --dev --no-interaction

script:
- mkdir -p build/logs
- php vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- vendor/bin/phpunit

after_script:
- php vendor/bin/coveralls
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
PHP Html Parser
==========================
===============

Version 1.7.0
Note: this is a fork of [paquettg/php-html-parser](https://github.com/paquettg/php-html-parser). The project is in passive maintenance only. Pull requests are accepted. If you are willing to maintain this package, please create an issue and let us know.

[![Build Status](https://travis-ci.org/paquettg/php-html-parser.png)](https://travis-ci.org/paquettg/php-html-parser)
[![Coverage Status](https://coveralls.io/repos/paquettg/php-html-parser/badge.png)](https://coveralls.io/r/paquettg/php-html-parser)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/paquettg/php-html-parser/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/paquettg/php-html-parser/?branch=master)
[![Build Status](https://travis-ci.org/thesoftwarefanatics/php-html-parser.png)](https://travis-ci.org/thesoftwarefanatics/php-html-parser)
[![Coverage Status](https://coveralls.io/repos/thesoftwarefanatics/php-html-parser/badge.png)](https://coveralls.io/r/thesoftwarefanatics/php-html-parser)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/thesoftwarefanatics/php-html-parser/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/thesoftwarefanatics/php-html-parser/?branch=master)

PHPHtmlParser is a simple, flexible, html parser which allows you to select tags using any css selector, like jQuery. The goal is to assiste in the development of tools which require a quick, easy way to scrap html, whether it's valid or not! This project was original supported by [sunra/php-simple-html-dom-parser](https://github.com/sunra/php-simple-html-dom-parser) but the support seems to have stopped so this project is my adaptation of his previous work.

Install
-------

This package can be found on [packagist](https://packagist.org/packages/paquettg/php-html-parser) and is best loaded using [composer](http://getcomposer.org/). We support php 5.6, 7.0, and hhvm 2.3.
This package can be found on [packagist](https://packagist.org/packages/thesoftwarefanatics/php-html-parser) and is best loaded using [composer](http://getcomposer.org/). We support php 5.6, 7.0, and hhvm 2.3.

Usage
-----
Expand Down
19 changes: 11 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
{
"name": "paquettg/php-html-parser",
"name": "thesoftwarefanatics/php-html-parser",
"type": "library",
"version": "1.7.0",
"description": "An HTML DOM parser. It allows you to manipulate HTML. Find tags on an HTML page with selectors just like jQuery.",
"keywords": ["html", "dom", "parser"],
"homepage": "https://github.com/paquettg/php-html-parser",
"homepage": "https://github.com/thesoftwarefanatics/php-html-parser",
"license": "MIT",
"authors": [
{
"name": "Gilles Paquette",
"email": "paquettg@gmail.com",
"homepage": "http://gillespaquette.ca"
},
{
"name": "The Software Fanatics GmbH",
"email": "dev@thesoftwarefanatics.com",
"homepage": "https://thesoftwarefanatics.com"
}
],
"require": {
"php": ">=5.6",
"php": "^5.6 || ^7.0",
"paquettg/string-encode": "~0.1.0"
},
"require-dev": {
Expand All @@ -23,10 +27,9 @@
"mockery/mockery": "~0.9.0"
},
"autoload": {
"psr-0": {
"PHPHtmlParser": "src/"
}
"psr-0": {
"PHPHtmlParser": "src/"
}
},
"minimum-stability": "dev",
"prefer-stable": true
}
28 changes: 0 additions & 28 deletions phpunit.php

This file was deleted.

27 changes: 0 additions & 27 deletions phpunit.xml

This file was deleted.

18 changes: 18 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
>
<testsuites>
<testsuite name="Repository Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
</phpunit>