PHPackages                                          Best PHP Packages for Security | 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. [Categories](/categories)
4. /
5. Security

Best PHP Packages for Security
==============================

Discover the top security packages for your PHP projects.

Most StarsMost DownloadedMost Depended UponRecently Updated

### matomo/matomo

v5.9.0-b1.20260327013734

71

Matomo is the leading Free/Libre open analytics platform

37.3k21.4k1mo ago

[Security](/categories/security)GPL-3.0+PHP &gt;=7.2.5

### privatebin/privatebin

v2.0.3

53

PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of stored data. Data is encrypted/decrypted in the browser using 256 bit AES in Galois Counter mode (GCM).

1428.1k6mo ago

[Security](/categories/security)zlib-acknowledgementPHP ^7.4 || ^8.0

### phpseclib/phpseclib

v3.0.50

82

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

434.8M5.6k1.3k2mo ago

[Security](/categories/security)MITPHP &gt;=5.6.1

### defuse/php-encryption

v2.4.0

59

Secure PHP Encryption Library

162.4M3.9k2142y ago

[Security](/categories/security)MITPHP &gt;=5.6.0

### paragonie/paseto

v3.5.0

66

Platform-Agnostic Security Tokens

1.3M3.4k1810mo ago

[Security](/categories/security)ISCPHP ^8.1

### c2sp/wycheproof

38

Wycheproof test vectors for cryptographic software

263.0k2

[Security](/categories/security)

### roave/security-advisories

53

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

97.3M2.9k6.4k

[Security](/categories/security)

### mews/captcha

v3.4.7

73

Laravel 5/6/7/8/9/10/11/12 Captcha Package

5.5M2.6k847mo ago

[Security](/categories/security)MITPHP ^7.2|^8.1|^8.2|^8.3

### ircmaxell/password-compat

v1.0.4

56

A compatibility library for the proposed simplified password hashing algorithm: https://wiki.php.net/rfc/password\_hash

56.8M2.1k12211y ago

[Security](/categories/security)MIT

### sensiolabs/security-advisories

47

Database of known security vulnerabilities in various PHP projects and libraries

122.1k2.1k

[Security](/categories/security)

### mews/purifier

v3.4.3

71

Laravel 5/6/7/8/9/10 HtmlPurifier Package

16.7M2.0k1131y ago

[Security](/categories/security)MITPHP ^7.2|^8.0

### sensiolabs/security-checker

v6.0.3

 Abandoned

A security checker for your composer.lock

71.6M2.0k5156y ago

[Security](/categories/security)MITPHP &gt;=7.1.3

### symfony/security-core

v8.0.4

84

Symfony Security Component - Core Library

199.7M1.9k8503mo ago

[Security](/categories/security)MITPHP &gt;=8.4

### gregwar/captcha

v1.3.0

66

Captcha generator

9.6M1.8k13810mo ago

[Security](/categories/security)MITPHP &gt;=5.3.0

### nilsteampassnet/teampass

v3.1.1

57

teampass

291.8k2y ago

[Security](/categories/security)GPL-3.0-onlyPHP &gt;=8.1

### symfony/security-csrf

v8.0.6

82

Symfony Security Component - CSRF Library

175.4M1.8k3123mo ago

[Security](/categories/security)MITPHP &gt;=8.4

### psecio/iniscan

v3.6.5

47

A scanner to evaluate php.ini security

64.0k1.5k29y ago

[Security](/categories/security)MITPHP &gt;=5.5.9

### pragmarx/firewall

v2.3.2

45

A Laravel IP whitelisting and blacklisting

988.9k1.4k3y ago

[Security](/categories/security)BSD-3-ClausePHP &gt;=5.6

PHPackages © 2026

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