Skip to content

Commit 5737243

Browse files
Merge pull request #1 from thesoftwarefanatics/rename-fork
Rename fork of php-html-parser
2 parents 9663472 + 9b3495a commit 5737243

File tree

7 files changed

+39
-73
lines changed

7 files changed

+39
-73
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
composer.lock
2+
vendor/
3+
phpunit.xml

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ install:
1010
- composer install --dev --no-interaction
1111

1212
script:
13-
- mkdir -p build/logs
14-
- php vendor/bin/phpunit --coverage-clover build/logs/clover.xml
13+
- vendor/bin/phpunit
1514

1615
after_script:
1716
- php vendor/bin/coveralls
18-
- wget https://scrutinizer-ci.com/ocular.phar
19-
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
PHP Html Parser
2-
==========================
2+
===============
33

4-
Version 1.7.0
4+
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.
55

6-
[![Build Status](https://travis-ci.org/paquettg/php-html-parser.png)](https://travis-ci.org/paquettg/php-html-parser)
7-
[![Coverage Status](https://coveralls.io/repos/paquettg/php-html-parser/badge.png)](https://coveralls.io/r/paquettg/php-html-parser)
8-
[![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)
6+
[![Build Status](https://travis-ci.org/thesoftwarefanatics/php-html-parser.png)](https://travis-ci.org/thesoftwarefanatics/php-html-parser)
7+
[![Coverage Status](https://coveralls.io/repos/thesoftwarefanatics/php-html-parser/badge.png)](https://coveralls.io/r/thesoftwarefanatics/php-html-parser)
8+
[![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)
99

1010
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.
1111

1212
Install
1313
-------
1414

15-
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.
15+
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.
1616

1717
Usage
1818
-----

composer.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
{
2-
"name": "paquettg/php-html-parser",
2+
"name": "thesoftwarefanatics/php-html-parser",
33
"type": "library",
4-
"version": "1.7.0",
54
"description": "An HTML DOM parser. It allows you to manipulate HTML. Find tags on an HTML page with selectors just like jQuery.",
65
"keywords": ["html", "dom", "parser"],
7-
"homepage": "https://github.com/paquettg/php-html-parser",
6+
"homepage": "https://github.com/thesoftwarefanatics/php-html-parser",
87
"license": "MIT",
98
"authors": [
109
{
1110
"name": "Gilles Paquette",
1211
"email": "paquettg@gmail.com",
1312
"homepage": "http://gillespaquette.ca"
13+
},
14+
{
15+
"name": "The Software Fanatics GmbH",
16+
"email": "dev@thesoftwarefanatics.com",
17+
"homepage": "https://thesoftwarefanatics.com"
1418
}
1519
],
1620
"require": {
17-
"php": ">=5.6",
21+
"php": "^5.6 || ^7.0",
1822
"paquettg/string-encode": "~0.1.0"
1923
},
2024
"require-dev": {
@@ -23,10 +27,9 @@
2327
"mockery/mockery": "~0.9.0"
2428
},
2529
"autoload": {
26-
"psr-0": {
27-
"PHPHtmlParser": "src/"
28-
}
30+
"psr-0": {
31+
"PHPHtmlParser": "src/"
32+
}
2933
},
30-
"minimum-stability": "dev",
3134
"prefer-stable": true
3235
}

phpunit.php

Lines changed: 0 additions & 28 deletions
This file was deleted.

phpunit.xml

Lines changed: 0 additions & 27 deletions
This file was deleted.

phpunit.xml.dist

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit backupGlobals="false"
3+
backupStaticAttributes="false"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
convertErrorsToExceptions="true"
7+
convertNoticesToExceptions="true"
8+
convertWarningsToExceptions="true"
9+
processIsolation="false"
10+
stopOnFailure="false"
11+
syntaxCheck="false"
12+
>
13+
<testsuites>
14+
<testsuite name="Repository Test Suite">
15+
<directory>./tests/</directory>
16+
</testsuite>
17+
</testsuites>
18+
</phpunit>

0 commit comments

Comments
 (0)