Installation
Install Security with Composer.
shell
composer require raxos/securityRequirements
- PHP 8.5 or newer.
- The
ext-opensslextension, used by the RSA JWT algorithms.
Raxos dependencies
Security builds on a few other Raxos packages, which Composer installs for you:
- raxos/contract: the exception interfaces such as
JwtExceptionInterfaceandUlidExceptionInterface. - raxos/error: the base exception class that every Security exception extends.
- raxos/foundation: the
Stopwatchutility used byTimingAttackPrevention.
Return to the Security introduction.