PHPackages                             frju365/libpsl-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. frju365/libpsl-php

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

frju365/libpsl-php
==================

Check a domain name extension and adress using PSL

0.3-beta(7y ago)051GPL-3.0-or-laterPHPPHP &gt;=7.0.0CI failing

Since Mar 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/paquerette-orga/libpsl-php)[ Packagist](https://packagist.org/packages/frju365/libpsl-php)[ Docs](https://github.com/frju365/libpsl-php)[ RSS](/packages/frju365-libpsl-php/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)DependenciesVersions (2)Used By (0)

libpsl-php
==========

[](#libpsl-php)

[![PHP Composer](https://github.com/paquerette-orga/libpsl-php/workflows/PHP%20Composer/badge.svg)](https://github.com/paquerette-orga/libpsl-php/workflows/PHP%20Composer/badge.svg)

Library to integrate PSL test in PHP

How to use it?
--------------

[](#how-to-use-it)

- Clone the repo or download one of the releases available : `git clone https://github.com/frju365/libpsl-php.git`
- Include the `psl-inspector.php` file in your file. Add at the top of your file for example : `require("libpsl-php/psl-inspector.php");`
- Use class `CheckTLD()` like I did in `test/test1` and others.

With Composer
-------------

[](#with-composer)

Use `composer require frju365/libpsl-php`.

Why I can use it?
-----------------

[](#why-i-can-use-it)

You can have multiple usages :

- Check a mail adress (just replace host by the adress you want to check)
- Check is the TLD of a host is a TLD.
- Check if a host has a PSL prefix

Version
-------

[](#version)

0.3-beta

Credit and license
------------------

[](#credit-and-license)

Libpsl has the goal to provide an integration library for PSL in PHP.

Copyright (C) 2019 Gomes Dias Julien

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see . See LICENSE file for more informations.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2613d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5b9ddc5beae7329983a15f66345bab75e3f0faa50f532f676e9e4c1dc18d852?d=identicon)[frju365](/maintainers/frju365)

---

Top Contributors

[![frju365](https://avatars.githubusercontent.com/u/19982894?v=4)](https://github.com/frju365 "frju365 (20 commits)")

---

Tags

adressdevdnslibpsllibpsl-phpportspsltldwebdevmaildnsport

### Embed Badge

![Health badge](/badges/frju365-libpsl-php/health.svg)

```
[![Health](https://phpackages.com/badges/frju365-libpsl-php/health.svg)](https://phpackages.com/packages/frju365-libpsl-php)
```

###  Alternatives

[php-imap/php-imap

Manage mailboxes, filter/get/delete emails in PHP (supports IMAP/POP3/NNTP)

1.7k12.9M42](/packages/php-imap-php-imap)[zbateson/mail-mime-parser

MIME email message parser

53949.2M79](/packages/zbateson-mail-mime-parser)[php-mime-mail-parser/php-mime-mail-parser

A fully tested email parser for PHP 8.0+ (mailparse extension wrapper).

9979.6M27](/packages/php-mime-mail-parser-php-mime-mail-parser)[nette/mail

📧 Nette Mail: A handy library for creating and sending emails in PHP.

5389.8M246](/packages/nette-mail)[webklex/php-imap

PHP IMAP client

4365.5M14](/packages/webklex-php-imap)[propaganistas/laravel-disposable-email

Disposable email validator

5762.6M6](/packages/propaganistas-laravel-disposable-email)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
