micro-module / jwt
Micro module jwt common library
Installs: 1 428
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.3 || ^8.0
- ext-json: *
Requires (Dev)
- mockery/mockery: ^1.3
- php-parallel-lint/php-console-highlighter: ^0.4
- php-parallel-lint/php-parallel-lint: ^1.0
- phpmd/phpmd: ^2.8
- phpstan/phpstan: ^0.12
- phpstan/phpstan-mockery: ^0.12
- phpstan/phpstan-phpunit: ^0.12
- phpunit/phpunit: ^9.0
- roave/security-advisories: dev-master
- symplify/easy-coding-standard: ^7.2
- vimeo/psalm: ^4.2
This package is auto-updated.
Last update: 2025-01-29 06:37:54 UTC
README
What's inside?
Up new environment:
make install
See all make commands
make help
Full test circle
make test
Execute tests:
tests-unit
tests-integration
Static code analysis:
make style
Code style fixer:
make coding-standards-fixer
Code style checker (PHP CS Fixer and PHP_CodeSniffer):
make coding-standards
Psalm is a static analysis tool for finding errors in PHP applications, built on top of PHP Parser:
make psalm
PHPStan focuses on finding errors in your code without actually running it.
make phpstan
Generate ssl keys
For generate ssl keys use symfony secret (app.secret) for pasphrase, from config/parameters.yaml file
$ mkdir -p var/jwt
$ openssl genrsa -out var/jwt/private.pem -aes256 4096
$ openssl rsa -pubout -in var/jwt/private.pem -out var/jwt/public.pem