LWT
Localzet LWT is a library for working with Localzet Web Tokens, which are based on JWT (JSON Web Tokens). It provides functionality for creating, verifying, and handling tokens using modern technologies and standards.
Installation
Section titled “Installation”composer config repositories.localzet-lwt vcs https://github.com/localzet/LWTcomposer require localzet/lwt:dev-mainLocalzet Web Token
Section titled “Localzet Web Token”LWT::encode/decode and base64UrlEncode/base64UrlDecode implement a custom secure-data format. Similar method names do not make LWT standard JWT/JWS. Agree on format, algorithms, key types and versions at both ends before integrating it.
Separate confidentiality, integrity and replay resistance: successful decoding does not prove message purpose or single use. Production adoption requires corrupted-token, expiry, wrong-key/algorithm and interoperability tests; the source README is reference material rather than an independent audit.
Requirements
Section titled “Requirements”- php: >=7.4
- ext-openssl: *
- ext-mbstring: *
- ext-json: *
Source · AGPL-3.0