abmmhasan / safeguard
A Collection of useful PHP security functions.
dev-main
2026-04-19 08:15 UTC
Requires
- php: >=8.4
- ext-hash: *
- ext-json: *
- ext-mbstring: *
- ext-openssl: *
- ext-sodium: *
- infocyph/pathwise: ^2.3.1
Requires (Dev)
- captainhook/captainhook: ^5.29.2
- laravel/pint: ^1.29
- pestphp/pest: ^4.6.2
- pestphp/pest-plugin-drift: ^4.1
- phpbench/phpbench: ^1.6.1
- phpstan/phpstan: ^2.1.50
- rector/rector: ^2.4.2
- squizlabs/php_codesniffer: ^4.0.1
- symfony/var-dumper: ^7.3 || ^8.0.8
- tomasvotruba/cognitive-complexity: ^1.1
- vimeo/psalm: ^6.16.1
This package is auto-updated.
Last update: 2026-04-19 08:15:34 UTC
README
Epicrypt is a capability-first PHP security toolkit.
It provides focused security building blocks for:
- Certificate / PKI / key exchange
- Crypto primitives
- Token security (JWT, payload, opaque)
- Password and secret protection
- Integrity verification
- Secure generation
- Data protection workflows
- Security utilities (signed URL, CSRF, reset/action tokens)
Installation
composer require infocyph/epicrypt
Requirements
- PHP
>=8.4 ext-sodium,ext-openssl,ext-json,ext-mbstring,ext-hash
Documentation
See the docs/ folder for full guides:
- architecture
- capability guides
- testing and benchmarking
- error handling