Skip to content

Commit 7b3e5b7

Browse files
committed
updated README.md
1 parent b14d726 commit 7b3e5b7

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

README.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
# JWT Auth
1+
<p align="center">
2+
<img src="https://raw.githubusercontent.com/andrewdyer/jwt-auth/b14d72673a415ec56184636ffcbb91b26c3d1c2b/.github/logo.png" alt="JWT Auth" />
3+
</p>
24

3-
[![Latest Stable Version](https://poser.pugx.org/andrewdyer/jwt-auth/v/stable)](https://packagist.org/packages/andrewdyer/jwt-auth)
4-
[![Total Downloads](https://poser.pugx.org/andrewdyer/jwt-auth/downloads)](https://packagist.org/packages/andrewdyer/jwt-auth)
5-
[![Daily Downloads](https://poser.pugx.org/andrewdyer/jwt-auth/d/daily)](https://packagist.org/packages/andrewdyer/jwt-auth)
6-
[![Monthly Downloads](https://poser.pugx.org/andrewdyer/jwt-auth/d/monthly)](https://packagist.org/packages/andrewdyer/jwt-auth)
7-
[![Latest Unstable Version](https://poser.pugx.org/andrewdyer/jwt-auth/v/unstable)](https://packagist.org/packages/andrewdyer/jwt-auth)
8-
[![License](https://poser.pugx.org/andrewdyer/jwt-auth/license)](https://packagist.org/packages/andrewdyer/jwt-auth)
9-
[![composer.lock](https://poser.pugx.org/andrewdyer/jwt-auth/composerlock)](https://packagist.org/packages/andrewdyer/jwt-auth)
10-
11-
A simple framework agnostic JSON Web Token authentication solution.
5+
<p align="center">
6+
<a href="https://packagist.org/packages/andrewdyer/jwt-auth"><img src="https://poser.pugx.org/andrewdyer/jwt-auth/downloads?style=for-the-badge" alt="Total Downloads"></a>
7+
<a href="https://packagist.org/packages/andrewdyer/jwt-auth"><img src="https://poser.pugx.org/andrewdyer/jwt-auth/v?style=for-the-badge" alt="Latest Stable Version"></a>
8+
<a href="https://packagist.org/packages/andrewdyer/jwt-auth"><img src="https://poser.pugx.org/andrewdyer/jwt-auth/license?style=for-the-badge" alt="License"></a>
9+
</p>
1210

1311
## License
1412
Licensed under MIT. Totally free for private or commercial projects.
@@ -28,8 +26,8 @@ $jwtProvider = new App\Providers\JwtProvider();
2826

2927
// Build up jwt claims
3028
$claimsFactory = new Anddye\JwtAuth\ClaimsFactory::build([
31-
'exp' => 1582243200', // Friday, 21 February 2020 00:00:00
32-
'iat' => 1582193571', // Thursday, 20 February 2020 10:12:51
29+
'exp' => 1582243200, // Friday, 21 February 2020 00:00:00
30+
'iat' => 1582193571, // Thursday, 20 February 2020 10:12:51
3331
'iss' => 'https://example.com',
3432
'jti' => 'fVcx9BJHqh',
3533
'nbj' => '1582193571', // Thursday, 20 February 2020 10:12:51

0 commit comments

Comments
 (0)