PHP code example of dimkinthepro / jwt-auth-bundle

1. Go to this page and download the library: Download dimkinthepro/jwt-auth-bundle library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

dimkinthepro / jwt-auth-bundle example snippets


# config/bundles.php

return [
#...
    Dimkinthepro\JwtAuth\DimkintheproJwtAuthBundle::class => ['all' => true],
];
bash
php bin/console doctrine:migrations:diff

php bin/console doctrine:migrations:migrate
bash
php bin/console dimkinthepro:jwt-auth:generate-key-pair