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

### piwik/piwik

v5.12.0-b1.20260704013918

 Abandoned

Matomo is the leading Free/Libre open analytics platform

9.1k21.7ktoday

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

### matomo/matomo

v5.12.0-b1

73

Matomo is the leading Free/Libre open analytics platform

38.9k21.7k5d ago

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

### privatebin/privatebin

v2.0.4

67

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).

1698.4k2mo ago

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

### passbolt/passbolt\_api

v5.13.0

71

Open source password manager for teams

1106.0k3w ago

[Security](/categories/security)AGPL-3.0-or-laterPHP &gt;=8.2

### phpseclib/phpseclib

v3.0.55

83

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

465.6M5.6k1.5k2w ago

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

### defuse/php-encryption

v2.4.0

59

Secure PHP Encryption Library

175.2M3.9k2543y ago

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

### paragonie/paseto

v3.5.0

64

Platform-Agnostic Security Tokens

1.5M3.4k2211mo ago

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

### c2sp/wycheproof

42

Wycheproof test vectors for cryptographic software

4313.1k4

[Security](/categories/security)

### roave/security-advisories

53

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

103.4M2.9k7.7k

[Security](/categories/security)

### mews/captcha

v3.5.0

81

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

5.8M2.6k903w 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

58.1M2.1k12911y ago

[Security](/categories/security)MIT

### sensiolabs/security-advisories

50

Database of known security vulnerabilities in various PHP projects and libraries

131.1k2.1k

[Security](/categories/security)

### mews/purifier

v3.4.4

77

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

18.7M2.0k1432mo ago

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

### sensiolabs/security-checker

v6.0.3

 Abandoned

A security checker for your composer.lock

72.1M2.0k5216y ago

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

### gregwar/captcha

v2.1.0

80

Captcha generator

10.1M1.9k1582w ago

[Security](/categories/security)MITPHP ^8.2

### symfony/security-core

v8.1.1

86

Symfony Security Component - Core Library

213.8M1.9k1.2k3w ago

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

### nilsteampassnet/teampass

v3.2.0

67

teampass

301.8k1mo ago

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

### symfony/security-csrf

v8.1.0

84

Symfony Security Component - CSRF Library

188.3M1.8k4591mo ago

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

PHPackages © 2026

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