Registry / auth / sizeg-yii2-jwt

sizeg-yii2-jwt

JSON →
library2.0.2phppackagistunverified

JWT authentication for Yii2 based on lcobucci/jwt.

composer require sizeg/yii2-jwt
INSTALL
IMPORT
SIG · SIZEG-YII2-JWT
S
sizeg-yii2-jwt
authphpv2.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Jwt
use sizeg\jwt\Jwt;

Create a JWT token using the builder.

use sizeg\jwt\Jwt; $jwt = new Jwt(); $token = $jwt->getBuilder()->issuedBy('example.com')->getToken(); echo (string)$token;
Debug
Known issues
breakingVersion 2.0 requires PHP 7.4+ and lcobucci/jwt 4.x.
fix
Ensure PHP 7.4+ and install compatible lcobucci/jwt version.
affects: >=2.0.0
Upgrade
Version history
2.0.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
OpenAI (training)
1
Resources
sizeg-yii2-jwt — pip install sizeg-yii2-jwt · libregistry