Skip to content

Commit 9199bab

Browse files
authored
Update README.md
1 parent 0b18930 commit 9199bab

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ You can find many examples of how to use the DOM parser and any of its parts (wh
2626

2727
```php
2828
// Assuming you installed from Composer:
29-
require "vendor/autoload.php";
3029
use PHPHtmlParser\Dom;
3130

3231
$dom = new Dom;
@@ -51,7 +50,6 @@ You may also seamlessly load a file into the DOM instead of a string, which is m
5150

5251
```php
5352
// Assuming you installed from Composer:
54-
require "vendor/autoload.php";
5553
use PHPHtmlParser\Dom;
5654

5755
$dom = new Dom;
@@ -82,7 +80,6 @@ Loading a URL is very similar to the way you would load the HTML from a file.
8280

8381
```php
8482
// Assuming you installed from Composer:
85-
require "vendor/autoload.php";
8683
use PHPHtmlParser\Dom;
8784

8885
$dom = new Dom;
@@ -98,7 +95,6 @@ loadFromUrl will, by default, use an implementation of the `\Psr\Http\Client\Cli
9895

9996
```php
10097
// Assuming you installed from Composer:
101-
require "vendor/autoload.php";
10298
use PHPHtmlParser\Dom;
10399
use App\Services\MyClient;
104100

@@ -116,7 +112,6 @@ Loading a string directly is also easily done.
116112

117113
```php
118114
// Assuming you installed from Composer:
119-
require "vendor/autoload.php";
120115
use PHPHtmlParser\Dom;
121116

122117
$dom = new Dom;
@@ -131,7 +126,6 @@ You can also set parsing option that will effect the behavior of the parsing eng
131126

132127
```php
133128
// Assuming you installed from Composer:
134-
require "vendor/autoload.php";
135129
use PHPHtmlParser\Dom;
136130
use PHPHtmlParser\Options;
137131

0 commit comments

Comments
 (0)