Libraries tagged by php security
tommyknocker/pdo-database-class
6323 Downloads
Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. Zero external dependencies.
stefangabos/zebra_database
13175 Downloads
An advanced, compact and lightweight MySQL database wrapper library, built around PHP's MySQLi extension.
soosyze/kses
68429 Downloads
An HTML/XHTML filter written in PHP. Checks on attribute values. Can be used to avoid Cross-Site Scripting (XSS), Buffer Overflows and Denial of Service attacks, among other things.
shipmonk/passkeys
1713 Downloads
Passkeys (WebAuthn) library for PHP with zero dependencies
shieldci/analyzers-core
47296 Downloads
Shared foundation for building static analysis tools - includes abstract analyzer classes, result formatters, file parsers, and utilities
rundiz/upload
7279 Downloads
Upload single or multiple files with validations. (allowed file extensions, matched mime type, max file size, security scan, reserved file name, safe for web file name).
progsmile/request-validator
116547 Downloads
Simple PHP Request Validator
phpsanitization/phpsanitization
2687 Downloads
Modern PHP Sanitization Library
milpa/live-web
14039 Downloads
HTTP/HTML transport layer for Milpa Live: CSRF/HMAC/nonce security, the signed XHTML state-transfer codec, the wire-protocol LiveEndpoint controller, and the HTML/Alpine/Latte-subset renderers for the Milpa PHP framework.
milpa/auth
13013 Downloads
Runtime-native identity vocabulary for the Milpa PHP framework: the typed Actor / AuthContext / AuthState / Credential primitives, the CredentialVerifier, AuthContextFactory and SessionStore contracts, and the WebAuthn ceremony types (RelyingParty, WebAuthnVerifier, assertion/registration value objects) — the trusted producer of the context policies need. Zero framework, zero ORM, fail-closed by construction.
martian/spammailchecker
2464 Downloads
A laravel package that protect users from entering non-existing/spam email addresses.
lychee-org/phpstan-sensitive-parameter-values
28621 Downloads
PHPStan extension for better support of SensitiveParameter and SensitiveParameterValue attributes.
lm-commons/rbac
86467 Downloads
Clone of zfr/rbac v1.2.0 for PHP 8 support
itools/smartstring
50674 Downloads
XSS-safe strings for PHP templates: values HTML-encode themselves on echo, interpolation, and concatenation, at least 3x faster than calling htmlspecialchars() yourself
itools/smartarray
50999 Downloads
XSS-safe collections for PHP templates: database rows with fields that HTML-encode themselves, plus chainable filtering, sorting, and grouping