You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A suffix is considered invalid if it is not contained in the [Public Suffix List](http://publicsuffix.org/).
296
283
297
-
> Huge thanks to [@SmellyFish](https://github.com/SmellyFish) for submitting
298
-
> [Add a way to validate TLDs](https://github.com/jeremykendall/php-domain-parser/pull/36)
299
-
> to add public suffix validation to the project.
284
+
> Huge thanks to [@SmellyFish](https://github.com/SmellyFish) for submitting
285
+
> [Add a way to validate TLDs](https://github.com/jeremykendall/php-domain-parser/pull/36)
286
+
> to add public suffix validation to the project.
300
287
301
288
### Retrieving Domain Components Only ###
302
289
@@ -321,15 +308,15 @@ string(5) "co.uk"
321
308
322
309
### Sanity Check ###
323
310
324
-
You can quickly parse a url from the command line with the provided `parse`
311
+
You can quickly parse a url from the command line with the provided `parse`
325
312
vendor binary. From the root of your project, simply call:
326
313
327
314
```bash
328
315
$ ./vendor/bin/parse <url>
329
316
```
330
317
331
318
If you pass a url to `parse`, that url will be parsed and the output printed
332
-
to screen.
319
+
to screen.
333
320
334
321
If you do not pass a url, `http://user:[email protected]:8080/path/to/page.html?query=string#fragment` will be parsed and the output printed to screen.
335
322
@@ -386,6 +373,19 @@ Contributing
386
373
Pull requests are *always* welcome! Please review the CONTRIBUTING.md document before
387
374
submitting pull requests.
388
375
376
+
#### Heads up: BC Break In All 1.4 Versions
377
+
378
+
The 1.4 series introduced a backwards incompatible change by adding PHP's `ext-mbstring`
379
+
and `ext-intl` as dependencies. This should have resulted in a major version
380
+
bump. Instead I bumped the minor version from 1.3.1 to 1.4.
381
+
382
+
I highly recommend reverting to 1.3.1 if you're running into extension issues and
383
+
do not want to or cannot install `ext-mbstring` and `ext-intl`. You will lose
384
+
IDNA and IPv6 support, however. Those are only available in versions >= 1.4.
385
+
386
+
Version 2 is currently in the works. Please keep an eye out. I apologize for any
387
+
issues you may have encountered due my [semver](http://semver.org/) error.
0 commit comments