PHP Package: azjezz/psl

PSL is a PHP library for public suffix list handling, providing efficient domain parsing and validation functions.

Current Version: 3.3.0
Last Updated: 2025-05-15
PHP Requirement: ~8.2.0 || ~8.3.0 || ~8.4.0
Dependencies:
guzzle/psr7
php-fig/simple-cache
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Public Suffix List (PSL) is a comprehensive library designed to parse and validate domain names effectively. It offers intricate domain handling functionalities, ensuring accurate results for domain-related operations in PHP applications.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 3.3.0

Download Download v3.3.0

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/azjezz/psl/3.3.0/loader.php';
require_once 'libs/guzzle/psr7/2.7.1/loader.php';
require_once 'libs/php-fig/simple-cache/{lib_version}/loader.php';

use Pdp\PublicSuffixList;
use Pdp\Rules;

$obj = new PublicSuffixList();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.