11# JWT Manager PHP
22
3+ [ ![ Latest Version] ( https://img.shields.io/github/v/release/not-empty/jwt-manager-php-lib.svg?style=flat-square )] ( https://github.com/not-empty/jwt-manager-php-lib/releases )
4+ [ ![ codecov] ( https://codecov.io/gh/not-empty/jwt-manager-php-lib/graph/badge.svg?token=AEMV163UW6 )] ( https://codecov.io/gh/not-empty/jwt-manager-php-lib )
5+ [ ![ CI Build] ( https://img.shields.io/github/actions/workflow/status/not-empty/jwt-manager-php-lib/php.yml )] ( https://github.com/not-empty/jwt-manager-php-lib/actions/workflows/php.yml )
6+ [ ![ Downloads Old] ( https://img.shields.io/packagist/dt/kiwfy/jwt-manager-php?logo=old&label=downloads%20legacy )] ( https://packagist.org/packages/kiwfy/jwt-manager-php )
7+ [ ![ Downloads] ( https://img.shields.io/packagist/dt/not-empty/jwt-manager-php-lib?logo=old&label=downloads )] ( https://packagist.org/packages/not-empty/jwt-manager-php-lib )
38[ ![ PRs Welcome] ( https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square )] ( http://makeapullrequest.com )
9+ [ ![ Packagist License (custom server)] ( https://img.shields.io/packagist/l/not-empty/jwt-manager-php-lib )] ( https://github.com/not-empty/jwt-manager-php-lib/blob/master/LICENSE )
410
511PHP library to manage JWT authentication
612
713### Installation
814
15+ [ Release 6.0.0] ( https://github.com/not-empty/jwt-manager-php-lib/releases/tag/6.0.0 ) Requires [ PHP] ( https://php.net ) 8.2
16+
917[ Release 5.0.0] ( https://github.com/not-empty/jwt-manager-php-lib/releases/tag/5.0.0 ) Requires [ PHP] ( https://php.net ) 8.1
1018
1119[ Release 4.0.0] ( https://github.com/not-empty/jwt-manager-php-lib/releases/tag/4.0.0 ) Requires [ PHP] ( https://php.net ) 7.4
@@ -80,12 +88,12 @@ var_dump($result);
8088if you want an environment to run or test it, you can build and install dependences like this
8189
8290``` sh
83- docker build --build-arg PHP_VERSION=8.1.4 -cli -t not-empty/jwt-manager-php-lib:php81 -f contrib/Dockerfile .
91+ docker build --build-arg PHP_VERSION=8.2 -cli -t not-empty/jwt-manager-php-lib:php82 -f contrib/Dockerfile .
8492```
8593
8694Access the container
8795``` sh
88- docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php81 bash
96+ docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php82 bash
8997```
9098
9199Verify if all dependencies is installed
@@ -111,12 +119,12 @@ To ensure that the entire project is fine:
111119First you need to building a correct environment to install all dependences
112120
113121``` sh
114- docker build --build-arg PHP_VERSION=8.1.4 -cli -t not-empty/jwt-manager-php-lib:php81 -f contrib/Dockerfile .
122+ docker build --build-arg PHP_VERSION=8.2 -cli -t not-empty/jwt-manager-php-lib:php82 -f contrib/Dockerfile .
115123```
116124
117125Access the container
118126``` sh
119- docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php81 bash
127+ docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php82 bash
120128```
121129
122130Install all dependences
0 commit comments