bakame/laravel-domain-parser

Laravel package to integrate PHP Domain parser.

1.0.1 2021-05-07 10:27 UTC

This package is auto-updated.

Last update: 2021-09-06 10:34:47 UTC


README

Latest Version Software License Build Status Code Coverage

This Laravel package eases PHP Domain Parser (PDP) integration in your Laravel application.

PHP Domain Parser is a resource based domain parser implemented in PHP. With it you can easily parse a domain into its component subdomain, registrable domain, second level domain and public suffix parts using the Public Suffix List or IANA Top Level Domain List.

This package doesn't intent to replace or reinvent the API offered by PDP, instead it offers you various entry points to PDP which can be used to validate or process your domain.

Installation

This package offers a wide variety of support for various Laravel versions. You can find the installation instructions, including a compatibility chart and full documentation on https://distortedfusion.com/docs/kevindierkx/laravel-domain-parser.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Testing

To run the tests, run the following command from the project folder:

composer test

Security

If you discover a security vulnerability within this package, please send an e-mail to Kevin Dierkx via kevin@distortedfusion.com. All security vulnerabilities will be promptly addressed.

Contributing

Contributions are welcome and will be fully credited. Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.