PHP code example of xtwoend / oauth-server

1. Go to this page and download the library: Download xtwoend/oauth-server 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/ */

    

xtwoend / oauth-server example snippets


    php bin/hyperf.php vendor:publish xtwoend/oauth-server
    
    php bin/hyperf.php migrate

    php bin/hyperf.php oauth:key